| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | | | |
|
| |/ / / / |
|
| |\ \ \ \
| | | | |
| | | | | |
Create voice.md
|
| | |\ \ \ \
| |/ / / /
|/| | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Adds Member Checks Before Changing Voice
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Updates the voice ban action so the infraction pardoning is always run,
and so all operations are handled in the _scheduler. Updates tests.
|
| | |\ \ \ \ \ |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Adds a check that checks if the user object is an instance of guild
member, before performing guild operations. Adds tests.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Add tag on float imprecision
|
| | | | | | | | | |
|
| |/ / / / / / /
| | | | | | |
| | | | | | | |
Adds a tag on float imprecision
|
| |\ \ \ \ \ \ \
| |_|_|_|_|/ /
|/| | | | | | |
Protect against overflows caused by large expirations
|
| | |\ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | | |
Without this, if a moderator add a reaction to any message, all the messages currently listening for reaction will pass the check since the user has a moderation role.
|
| |/ / / / / / |
|
| |\ \ \ \ \ \ |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Make sure that moderators can interact with trashcans and restrict paginator usage
|
| | |\ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
|
| | |\ \ \ \ \ \ |
|
| | | |\ \ \ \ \ \ |
|
| | |/ / / / / / / |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The `allow_moderation_roles` bool can be specified to allow anyone with a role in `MODERATION_ROLES` to delete
the message.
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | | |
This tag would provide info for users which are not voice-verified, so that they can easily be directed toward the appropriate channel.
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Per Gustav's suggestion.
Co-authored-by: Gustav Odinger <[email protected]>
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
It added more vertical white space than was wanted.
Co-authored-by: Gustav Odinger <[email protected]>
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Previously, the example only conveyed how the `if` statement of list comps could be used to filter a list, whereas the mapping functionality is what people primarily use list comps for.
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The example emphasizes that you can evaluate expressions in the curly braces. Python 3.5 has already reached EOL, so anyone who doesn't have f-strings at this point is probably running 2.7 anyway. I also removed the information about `str.format` to reduce the scope.
|
| | |_|_|_|_|/ /
|/| | | | | |
| | | | | | |
| | | | | | | |
The previous examples might have been confusing for some readers. I also removed the part about inverting a dict because I think that's out of scope and would require more explanation given all the consequences that could have.
|
| | | | | | | |\
| | | | | | | |
| | | | | | | |
| | | | | | | | |
mbaruh/defcon
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The idea to ignore alerts on fake redis didn't solve the problem completely, because sometimes you'll just develop with a real redis. It also didn't solve the ping we would get on first start up.
After looking into it there seems like there's no actual reason to alert on key errors, as they should only happen if the cache gets wiped for some reason, which shouldn't happen, but in which case we have bigger issues. Alerts are therefore limited to connection errors raised by redis.
This additionally handles only redis errors when writing to it as well. If any other error is raised it is ok for the function to stop at that point, as all variables have already been set. The only thing which doesn't get executed is the confirmation message and logging, the lack of which is an exception message in itself.
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The alert will trigger with fake redis on every bot startup even when people aren't working on the defcon cog. Added a condition to check if fake redis is being used.
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Updating redis might cause an error, making sure it doesn't stop the command mid-way
|
| | | | | | | |/ |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|