Coder Social home page Coder Social logo

gearbot's Introduction

Gearbot

gearbot's People

Contributors

adam-vandervorst avatar adityaxdiwakar avatar aenterprise avatar aimarekin avatar alexandrutodea avatar asf007 avatar blackholefox avatar brawaru avatar brightnesstm-1 avatar brxxn avatar dependabot-preview[bot] avatar dependabot[bot] avatar hampuskraft avatar ibrahimcaj avatar jerbast avatar johnythecarrot avatar karatewumpus avatar kitty-therapist avatar melvinsnijders avatar mrkirby153 avatar pheonix5555 avatar posrgl avatar rage0001 avatar revolx avatar sem1083 avatar spudds avatar taarek avatar tim-the avatar trilleplay avatar webhp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gearbot's Issues

Speed up quote command

Currently it just searches everywhere for quote messages that are not in the DB and is terribly slow and in-efficient, couple of things to be done to speed it up

If not found in the database it should first look in the current channel, then in the other channels of the current server as that's the most likely place to find it

After it should look in servers without edit logs enabled, as those are much more likely to have the the message if it's not in the DB

When not found there, look in servers with edit logs enabled, it could be there but be older then when edit logs where enabled

jumbo gifs

make gifs work in jumbo, assemble it them and make a gif of the entire thing

tempban

allow banning someone for x amount of time (like muting)

Finish localizing

Most of GearBot is localizable but not all, need to finish localizing them all

enchance selfrole command

  • make case insensitive
  • find a way to make it clear you are not supposed to ping the role to get it

forceban not overriding tempbans

forcebanning someone should mark any pending tempbans as expired instead of unbanning after it expires
(and inform the invoker about the fact there was a tempban)

improve cleaning

  • don't freak out when people run multiple at once on the same channel
  • don't alow 2 cleaners to run in the same channel at the same time
  • catch all purging in an archive, even if they are more then 2 weeks old
  • don't check 5k messages for an between check

integrate outboard

  • anti raid (start of it in PR #73)
    • needs configuration
    • needs temp disable
    • more options
    • store in database and hook in infractions
  • bad name detection
    • mostly ported as is
    • option to notify people why they where kicked
    • option to ask people to change in x amount of time, kick/ban afterwards
    • allow auto-ban after x infractions for bad names (with option to notify)
    • add actual mod validation to reactions
    • make sure tarek and az can't pick a fight with it again for "testing" purposes

Bot being hateful in DMs.

When I try to do the !help command in the DMs with Gearbot, it just spills out an error. You can find it in the logs where the bot decided it'd be hateful to me. :(

munban

you never know when some bot goes crazy with the bans

channel overrides

similar to cog overrides
set a min lvl required to use any command in specific channels (maybe also global default?)
limit max lvl to 5 (maybe even 4?) to prevent lockouts
have cog overrides with command overrides inside to even more fine tuned control

mban and mkick

kick/ban users, multiple at once, more for helping clean up raiders

temprole

temporarely adding roles, should not count as infractions

New permission lvl: specific people only

This would be permission lvl 4 (currently owner only)
Will need a new command override dict where a whitelist of people can be stored per command of people to grant perm lvl 4 for this command

currently lvl 4 and 5 will become 5 and 6, needs automatic config conversions to not screw up current configrations

seen command

last time a user send a message in that server

censor loggings

censored invite logging doesn't include the channel
it also gets logged as regular deletion

move logging types to features

currently enabling/disabling things is the logging keys, move this to be called features to allow hooking in new things and having current ones make more sense

Order roles alphabetically in the role list provided by the !roles commands

The !roles command displays a list that is not ordered alphabetically making it really hard to navigate through if the server has a big number of roles. Ordering the list alphabetically would make navigating through it a lot easier, especially in my server which has a role for each language that was a part of Discord's crowdin translations project among other staff roles

image

reminders

would be neat, not super high priority though, anyone interested in giving it a try?

fix username cleaning

clean_user is not escaping markdown

review all usages of this and the markdown escaper, some seem to using clean, while they should be using clean_user

Anti-Raid + Improvements

I just came up with a list of the features that could be implemented into GearBot for any possible situations for any servers.

They are the following:

  • Disabling the ping.
  • Raising or lowering the amount of users joining by command.
  • Have the bot to search for the specific snowflake that we need to look out for - or account creation date.
  • Temporarily disables the antiraid. Like I could do !antiraid off 2h
  • Turning it off until you turn it back on

These would be useful for if the server owner (i.e. House of Brilliance) are expecting an mass join due to a major event (i.e. being linked in the Snowsgiving Fire Dumpster server) where up to 20 or more people will join at the same time.

Currently, with another bot - it will trigger the anti-raid and we will get pinged but we will see that it's just a group of people being curious about the server itself. So if we had a way to customize our options, or handle how we want our anti-raid feature to work. It would be a good feature for GearBot.

Announcements

  • New command to make announcements !announce <type> <message>

will make a an announcement based on the message, replacing keywords with role mentions, making them those pingable, announcing and disabling the role pings

gives a preview before making the announcement, asking for confirmation

  • Matching configuration commands to add/remove announcements, mapping a type to a channel and (optional) list of roles available for pinging with the announcement

text censoring

allow censoring of text
limit input to a minimal of 3 char to not have silly things like someone blackisting a single letter
case insensitive
also handle edits

add note command

add notes on users
should show up in inf search but not count as one

not sure if should be deletable by mods, but def updatable like infractions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.