| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2021-05-10 | Nomination: fix formatting issue | -2/+8 | ||
| 2021-05-09 | Duckpond: make use of count_unique_users_reaction | -21/+25 | ||
| 2021-05-09 | Nominations: promote the mention regex to a constant | -1/+4 | ||
| 2021-05-09 | Nomination: simplify history loop | -5/+3 | ||
| Co-authored-by: mbaruh <[email protected]> | ||||
| 2021-04-24 | Nominations: send many archive messages if the nomination is too long | -6/+8 | ||
| 2021-04-24 | Nomination: properly handle multi messages nominations | -9/+27 | ||
| 2021-04-24 | Nomination: pin nomination announcements | -4/+23 | ||
| 2021-04-23 | Nomination: ping the whole team | -1/+1 | ||
| 2021-04-23 | Nominations: automate post archiving | -4/+94 | ||
| This commit adds a new reaction handler to the talentpool cog to automatically unpin and archive mesage in #nomination-voting | ||||
| 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-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 | 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 | 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 | ||
| 2021-04-17 | Assume a scheduled task exists for `duty on` | -2/+1 | ||
| The lack of such a task may be indicative of a bug. | ||||
| 2021-04-17 | Keep config succint | -2/+0 | ||
| A moderator is expected to have the mod-team role and therefore it's enough to specify the latter in the mod and staff roles. | ||||
| 2021-04-16 | Raise a new NotInBlacklistCheckFailure instead | -7/+15 | ||
| This creates a new baseclass called ContextCheckFailure, and the new error as well as InWhitelistCheckFailure now derive it. | ||||
| 2021-04-15 | Allow eval almost everywhere | -5/+44 | ||
| Adds a check to blacklist a command only in a specific context, with an option for a role override. The check is applied to the eval command to blacklist it only from python-general. | ||||
| 2021-04-15 | chore: update wording as requested | -3/+3 | ||
| 2021-04-15 | Use set instead of update in duty off | -1/+1 | ||
| 2021-04-15 | Add off-duty expiration date to audit log | -2/+2 | ||
| 2021-04-15 | Fix setup docstring to specify correct cog | -1/+1 | ||
| 2021-04-15 | Remove extra newline | -1/+0 | ||
| Co-authored-by: ks129 <[email protected]> | ||||
| 2021-04-14 | Add Duty cog and new Moderators role | -4/+143 | ||
| Added a cog to allow moderators to go off and on duty. The off-duty state is cached via a redis cache, and its expiry is scheduled via the Scheduler. Additionally changes which roles are pinged on mod alerts. | ||||
| 2021-04-14 | Refactor embed to use just one line | -3/+1 | ||
| 2021-04-14 | Catch NotFound errors when trying to delete the invocation message when cleaning | -2/+6 | ||
| This often happens during a raid, when an int e script is added to ban & clean messages. Since the invocation message will be deleted on the first run, we should except subsequent NotFound errors. | ||||
| 2021-04-14 | Require at least one snowflake to be provided. | -0/+3 | ||
| 2021-04-14 | Use a paginated embed to output multiple snowflakes | -9/+18 | ||
| Previously each snowflake passed to the command would have their own embed, which may cause the bot to send many embeds if a staff unknowingly passed it a bunch of snowflakes. This change makes sure that we don't run into rate limits on the bot by sending all of the snowflakes in one embed. | ||||