Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Adds Voice Test Cases To Already Silenced Test | 2021-05-04 | -6/+8 | |
| | | | | Signed-off-by: Hassan Abouelela <[email protected]> | |||
* | Copy Existing Text Channel Cache Tests For Voice | 2021-05-04 | -82/+97 | |
| | | | | | | | Duplicates existing silence and unsilence cache tests for voice channels. Signed-off-by: Hassan Abouelela <[email protected]> | |||
* | Uses Async Asserts Where Possible | 2021-04-24 | -21/+21 | |
| | | | | Signed-off-by: Hassan Abouelela <[email protected]> | |||
* | Removes Unnecessary Members In Silence Tests | 2021-04-21 | -16/+14 | |
| | | | | | | | Reduces the number of members created for each test to the bare minimum required. Signed-off-by: Hassan Abouelela <[email protected]> | |||
* | Merge branch 'main' into voicechannel-mute | 2021-04-20 | -874/+2145 | |
|\ | ||||
| * | Merge pull request #1535 from francisdbillones/patch-1 | 2021-04-20 | -1/+1 | |
| |\ | | | | | | | Fix zen's negative indexing | |||
| | * | Merge branch 'main' into patch-1 | 2021-04-20 | -14/+198 | |
| | |\ | | |/ | |/| | ||||
| * | | Merge pull request #1543 from python-discord/test-async-mock | 2021-04-20 | -1/+1 | |
| |\ \ | | | | | | | | | Tests: AsyncMock is now in the standard library! | |||
| | * \ | Merge branch 'main' into test-async-mock | 2021-04-20 | -7/+145 | |
| | |\ \ | | |/ / | |/| | | ||||
| * | | | Merge pull request #1544 from python-discord/mods-role-in-allowed-mentions | 2021-04-20 | -0/+1 | |
| |\ \ \ | | | | | | | | | | | Add the Moderators role to moderation_roles in config | |||
| | * | | | Add the Moderators role to moderation_roles in config | 2021-04-20 | -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. | |||
| * | | | Merge pull request #1526 from python-discord/mbaruh/offduty | 2021-04-20 | -8/+145 | |
| |\ \ \ | | | | | | | | | | | Add Modpings cog and new Moderators role | |||
| | * \ \ | Merge branch 'main' into mbaruh/offduty | 2021-04-20 | -42/+179 | |
| | |\ \ \ | | |/ / / | |/| | | | ||||
| | * | | | Remove allowed mentions in modlog alert | 2021-04-20 | -2/+1 | |
| | | | | | | | | | | | | | | | The modlog alert embed no longer pings everyone. | |||
| | * | | | Improve rediscache doc | 2021-04-20 | -1/+1 | |
| | | | | | | | | | | | | | | | Co-authored-by: ChrisJL <[email protected]> | |||
| | * | | | CamelCase the cog name | 2021-04-19 | -3/+3 | |
| | | | | | ||||
| | * | | | Merge branch 'mbaruh/offduty' of https://github.com/python-discord/bot into ↵ | 2021-04-19 | -2/+2 | |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | mbaruh/offduty | |||
| | | * | | | Remove here ping | 2021-04-17 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | Kinda defeats the purpose of being off-duty. | |||
| | * | | | | Renamed duty.py to modpings.py | 2021-04-19 | -0/+0 | |
| | | | | | | ||||
| | * | | | | Renamed Duty cog to Modpings | 2021-04-19 | -23/+23 | |
| | |/ / / | | | | | | | | | | | | | | | | The renaming includes the commands inside it. | |||
| | * | | | Name the rescheduling task, and cancel it on cog unload | 2021-04-17 | -1/+2 | |
| | | | | | ||||
| | * | | | Improve documentation | 2021-04-17 | -1/+3 | |
| | | | | | ||||
| | * | | | Assume a scheduled task exists for `duty on` | 2021-04-17 | -2/+1 | |
| | | | | | | | | | | | | | | | | | | | | The lack of such a task may be indicative of a bug. | |||
| | * | | | Keep config succint | 2021-04-17 | -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. | |||
| | * | | | Use set instead of update in duty off | 2021-04-15 | -1/+1 | |
| | | | | | ||||
| | * | | | Add off-duty expiration date to audit log | 2021-04-15 | -2/+2 | |
| | | | | | ||||
| | * | | | Fix setup docstring to specify correct cog | 2021-04-15 | -1/+1 | |
| | | | | | ||||
| | * | | | Remove extra newline | 2021-04-15 | -1/+0 | |
| | | | | | | | | | | | | | | | Co-authored-by: ks129 <[email protected]> | |||
| | * | | | Add Duty cog and new Moderators role | 2021-04-14 | -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. | |||
| | | * | | Tests: AsyncMock is now in the standard library! | 2021-04-20 | -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. | |||
| * | | | Merge pull request #1532 from doublevcodes/main | 2021-04-20 | -2/+6 | |
| |\ \ \ | | | | | | | | | | | !superstarify default time | |||
| | * | | | Update bot/exts/moderation/infraction/superstarify.py | 2021-04-19 | -1/+1 | |
| | | | | | | | | | | | | | | | Co-authored-by: Boris Muratov <[email protected]> | |||
| | * | | | Merge branch 'main' into main | 2021-04-19 | -4/+46 | |
| | |\ \ \ | | |/ / / | |/| | | | ||||
| * | | | | Merge pull request #1537 from python-discord/list-non-staff-with-stream-perms | 2021-04-19 | -4/+46 | |
| |\ \ \ \ | | | | | | | | | | | | | List non staff with stream perms | |||
| | * | | | | Update comment in list stream for readibility | 2021-04-19 | -1/+1 | |
| | | | | | | ||||
| | * | | | | Improve the wording of the list streamers embed | 2021-04-19 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | Co-authored-by: Matteo Bertucci <[email protected]> | |||
| | * | | | | Remove unnecessary _ in variable name | 2021-04-19 | -3/+3 | |
| | | | | | | ||||
| | * | | | | Update wording of comment to be clearer. | 2021-04-19 | -1/+1 | |
| | | | | | | ||||
| | * | | | | Add command to list users with streaming perms | 2021-04-19 | -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. | |||
| | * | | | | Require a mod role for stream commands | 2021-04-19 | -4/+4 | |
| |/ / / / | | | | | | | | | | | | | | | | Previously any staff member (including helpers) could use the stream commands. | |||
| | * | | | Change type hint from duration to expiry | 2021-04-19 | -2/+2 | |
| | | | | | ||||
| | * | | | Add default duration as constant and use Duration converter | 2021-04-19 | -4/+4 | |
| | | | | | ||||
| | * | | | Inline duration assignment | 2021-04-19 | -2/+1 | |
| | | | | | | | | | | | | | | | Co-authored-by: Rohan Reddy Alleti <[email protected]> | |||
| | * | | | Fix linting errors | 2021-04-18 | -1/+1 | |
| | | | | | ||||
| | * | | | Check if a duration was provided | 2021-04-18 | -2/+3 | |
| | | | | | ||||
| | * | | | Make duration an optional arg and default it to 1 hour | 2021-04-18 | -1/+5 | |
| | | | | | ||||
| | * | | | Added default duration of 1h to superstarify | 2021-04-18 | -1/+1 | |
| |/ / / | ||||
| | | * | Fix zen's negative indexing | 2021-04-19 | -1/+1 | |
| | |/ | |/| | | | | Negative indexing starts at -1, not 0, meaning lower bound should be -1 * len(zen_lines), not -1 * upper_bound. | |||
| * | | Merge pull request #1528 from python-discord/mbaruh/allow_eval | 2021-04-17 | -10/+57 | |
| |\ \ | | | | | | | | | Allow eval almost everywhere | |||
| | * \ | Merge branch 'main' into mbaruh/allow_eval | 2021-04-17 | -0/+21 | |
| | |\ \ | | |/ / | |/| | |