gearbot / gearbot Goto Github PK
View Code? Open in Web Editor NEWHelps you to keep the gears turning smoothly
Home Page: https://gearbot.rocks
License: MIT License
Helps you to keep the gears turning smoothly
Home Page: https://gearbot.rocks
License: MIT License
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
make gifs work in jumbo, assemble it them and make a gif of the entire thing
allow banning someone for x amount of time (like muting)
checks fail when falling back to twermoji cause no custom ones are configured
Most of GearBot is localizable but not all, need to finish localizing them all
Steps to repro:
!configure selfroles add @everyone
Like project's and it's downloads
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)
clean user
clean all
reactions?
...
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. :(
you never know when some bot goes crazy with the bans
if it has no crowdin key it logs the translation file as uploaded, but it has no key so it didn't actually upload
currently you can only limit the top lvl command, not subcommands
maybe some hook for #24 as well to allow limiting who can use what announcement type
add a summary of total infractions and types
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
Title explains it all
kick/ban users, multiple at once, more for helping clean up raiders
temporarely adding roles, should not count as infractions
exact creation time
exact join time
nr of infractions
...
You can make the bot say "deleted 0 message(s)" which makes no sense.
Reproduce using !purge 0
or !purge <a negative number>
add active, start, end and duration flags
add active flags (migrate old actions to be as accurate as possible)
commands to add/remove/edit emoji
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
get rid of that ugly barely working mess it is now
need #66
last time a user send a message in that server
doesn't reset after sending an error message
censored invite logging doesn't include the channel
it also gets logged as regular deletion
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
add config option for it, not sure if should be on or off by default
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
instead of alphabetic, maybe with a param to switch between the 2?
would be neat, not super high priority though, anyone interested in giving it a try?
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
Make it so that when creating a custom command you can get info about it when using
!help <trigger>
having gearbot serve web requests himself, maybe for archives, some basic info, the docs, ....
Currently logging fails silenty, best to inform the guild owner
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:
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.
!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
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
Title explains it all
need to put some more thought into this one if i wana allow this or not, and what the security implications might be
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.