Commit message (Collapse) | Author | Lines | ||
---|---|---|---|---|
2021-04-29 | feat: Use embed timestamp in modpings off | -3/+5 | ||
2021-04-28 | CodeSnippets: fix type annotations | -4/+5 | ||
2021-04-28 | CodeSnippets: add more detail to the request error message | -2/+3 | ||
2021-04-28 | CodeSnippets: use a lower log level for 404 responses | -1/+2 | ||
Just cause a URL looks valid doesn't mean it will be valid, so a 404 is a normal and harmless error. Fixes #1553 Fixes BOT-Z4 Fixes BOT-Z8 Fixes BOT-Z9 | ||||
2021-04-28 | CodeSnippets: avoid returning None when request raises an exception | -10/+13 | ||
Move the exception handling to `on_message` to avoid writing a lot of None checks; `_fetch_response` is used multiple times in various places. Fixes #1554 Fixes BOT-Z7 | ||||
2021-04-28 | Address error behavior update. | -3/+3 | ||
BadUnionArgument sends command help after: https://github.com/python-discord/bot/pull/1434 | ||||
2021-04-28 | Remove BrandingError check. | -5/+0 | ||
This was removed in the branding manager rewrite: https://github.com/python-discord/bot/pull/1463/ | ||||
2021-04-28 | Make flake8 happy :D | -1/+1 | ||
2021-04-28 | Use guild.afk_channel atr to retrieve afk Channel instance. | -3/+1 | ||
2021-04-27 | Wait for cache to fill before redirecting | -0/+1 | ||
2021-04-27 | Use a specific error message when a warned user isn't in the guild | -3/+15 | ||
This commit changes sighly how the warn, kick and mute commands to take a fetched member as their argument and to return a little error message if the user isn't in the guild rather than showing the whole help page. | ||||
2021-04-27 | Redirect to #bot-commands if the message's length is > 1000 | -5/+16 | ||
2021-04-27 | Fixed the line limit and halved the char limit | -1/+1 | ||
2021-04-27 | Merge two comments into one | -2/+1 | ||
Co-authored-by: Xithrius <[email protected]> | ||||
2021-04-25 | Wait for cache to be loaded before accesing member voice state and channels. | -0/+1 | ||
2021-04-24 | Tests: simplify public flags handling | -8/+2 | ||
Co_authored-by: Numerlor <[email protected]> | ||||
2021-04-21 | chore: Revert back to 'Due' | -1/+1 | ||
2021-04-20 | chore: Use Embed.timestamp for showing when the reminder will be sent | -5/+8 | ||
2021-04-20 | Add the Moderators role to moderation_roles in config | -0/+1 | ||
This allows mod alert pings to go through in #mod-alerts, the allowed mentions only included the mods team role which is not pinged on mod alerts. | ||||
2021-04-20 | Remove allowed mentions in modlog alert | -2/+1 | ||
The modlog alert embed no longer pings everyone. | ||||
2021-04-20 | Improve rediscache doc | -1/+1 | ||
Co-authored-by: ChrisJL <[email protected]> | ||||
2021-04-20 | Tests: AsyncMock is now in the standard library! | -1/+1 | ||
The `tests/README.md` file still referenced our old custom `AsyncMock` that has been removed in favour of the standard library one that has been introduced in 3.8. This commit fixes this by updating the section. | ||||
2021-04-19 | Update bot/exts/moderation/infraction/superstarify.py | -1/+1 | ||
Co-authored-by: Boris Muratov <[email protected]> | ||||
2021-04-19 | Change type hint from duration to expiry | -2/+2 | ||
2021-04-19 | Add default duration as constant and use Duration converter | -4/+4 | ||
2021-04-19 | Inline duration assignment | -2/+1 | ||
Co-authored-by: Rohan Reddy Alleti <[email protected]> | ||||
2021-04-20 | Add method for suspending member's stream when revoking stream perms. | -4/+27 | ||
2021-04-19 | Add afk voice channel to constants. | -0/+2 | ||
2021-04-19 | Update comment in list stream for readibility | -1/+1 | ||
2021-04-19 | CamelCase the cog name | -3/+3 | ||
2021-04-19 | Improve the wording of the list streamers embed | -1/+1 | ||
Co-authored-by: Matteo Bertucci <[email protected]> | ||||
2021-04-19 | Remove unnecessary _ in variable name | -3/+3 | ||
2021-04-19 | Update wording of comment to be clearer. | -1/+1 | ||
2021-04-19 | Add command to list users with streaming perms | -1/+43 | ||
This is useful to audit users who still have the permission to stream. I have chosen to also sort and paginate the embed to make it easier to read. The sorting is based on how long until the user's streaming permissions are revoked, with permanent streamers at the end. | ||||
2021-04-19 | Require a mod role for stream commands | -4/+4 | ||
Previously any staff member (including helpers) could use the stream commands. | ||||
2021-04-19 | Add blacklist format to the BOT_TRACE_LOGGERS env var | -4/+21 | ||
To mimic the same behaviour, setting all of the loggers to the trace level was changed to a "*" prefix without looking at other contents instead of setting it exactly to "ROOT" or "*" | ||||
2021-04-19 | Fix zen's negative indexing | -1/+1 | ||
Negative indexing starts at -1, not 0, meaning lower bound should be -1 * len(zen_lines), not -1 * upper_bound. | ||||
2021-04-19 | Renamed duty.py to modpings.py | -0/+0 | ||
2021-04-19 | Renamed Duty cog to Modpings | -23/+23 | ||
The renaming includes the commands inside it. | ||||
2021-04-18 | Fix linting errors | -1/+1 | ||
2021-04-18 | Check if a duration was provided | -2/+3 | ||
2021-04-18 | Make duration an optional arg and default it to 1 hour | -1/+5 | ||
2021-04-18 | Added default duration of 1h to superstarify | -1/+1 | ||
2021-04-17 | Sort snippet matches by their start position | -5/+10 | ||
2021-04-17 | Tests: members shouldn't have any public flags | -0/+8 | ||
2021-04-17 | Move the verified developer badge to the embed title | -3/+5 | ||
2021-04-17 | Make YAMLGetter raise AttributeError instead of KeyError | -3/+4 | ||
Utility functions such as hasattr or getattr except __getattribute__ to raise AttributeError not KeyError. This commit also lowers the logging level of the error message to info since it is up to the caller to decide if this is an expected failure or not. | ||||
2021-04-17 | Remove here ping | -2/+2 | ||
Kinda defeats the purpose of being off-duty. | ||||
2021-04-17 | Name the rescheduling task, and cancel it on cog unload | -1/+2 | ||
2021-04-17 | Improve documentation | -1/+3 | ||