| Commit message (Collapse) | Author | Age | Lines | 
| | 
| 
| 
|  | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | 
| 
| 
|  | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Duplicates existing silence and unsilence cache tests for voice
 channels.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | 
| 
| 
|  | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Reduces the number of members created for each test to the bare minimum
required.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| |\   | 
 | 
| | |\  
| | | 
| | |  | 
Fix zen's negative indexing
 | 
| | | |\  
| | |/  
| |/|    | 
 | 
| | |\ \  
| | | | 
| | | |  | 
Tests: AsyncMock is now in the standard library!
 | 
| | | |\ \  
| | |/ /  
| |/| |    | 
 | 
| | |\ \ \  
| | | | | 
| | | | |  | 
Add the Moderators role to moderation_roles in config
 | 
| | |/ / /  
| | | |   
| | | |    | 
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.
 | 
| | |\ \ \  
| | | | | 
| | | | |  | 
Add Modpings cog and new Moderators role
 | 
| | | |\ \ \  
| | |/ / /  
| |/| | |    | 
 | 
| | | | | | 
| | | | | 
| | | | |  | 
The modlog alert embed no longer pings everyone.
 | 
| | | | | | 
| | | | | 
| | | | |  | 
Co-authored-by: ChrisJL <[email protected]>
 | 
| | | | | |  | 
 | 
| | | |\ \ \  
| | | | | | 
| | | | | | 
| | | | | |  | 
mbaruh/offduty
 | 
| | | | | | | 
| | | | | | 
| | | | | |  | 
Kinda defeats the purpose of being off-duty.
 | 
| | | | | | |  | 
 | 
| | | |/ / /  
| | | | |   
| | | | |   
| | | | |    | 
The renaming includes the commands inside it.
 | 
| | | | | |  | 
 | 
| | | | | |  | 
 | 
| | | | | | 
| | | | | 
| | | | | 
| | | | |  | 
The lack of such a task may be indicative of a bug.
 | 
| | | | | | 
| | | | | 
| | | | | 
| | | | |  | 
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.
 | 
| | | | | |  | 
 | 
| | | | | |  | 
 | 
| | | | | |  | 
 | 
| | | | | | 
| | | | | 
| | | | |  | 
Co-authored-by: ks129 <[email protected]>
 | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | |  | 
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.
 | 
| | | |/ /  
| |/| |   
| | | |    | 
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.
 | 
| | |\ \ \  
| | | | | 
| | | | |  | 
!superstarify default time
 | 
| | | | | | 
| | | | | 
| | | | |  | 
Co-authored-by: Boris Muratov <[email protected]>
 | 
| | | |\ \ \  
| | |/ / /  
| |/| | |    | 
 | 
| | |\ \ \ \  
| | | | | | 
| | | | | |  | 
List non staff with stream perms
 | 
| | | | | | |  | 
 | 
| | | | | | | 
| | | | | | 
| | | | | |  | 
Co-authored-by: Matteo Bertucci <[email protected]>
 | 
| | | | | | |  | 
 | 
| | | | | | |  | 
 | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | |  | 
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.
 | 
| | |/ / / /  
| | | | |   
| | | | |   
| | | | |    | 
Previously any staff member (including helpers) could use the stream commands.
 | 
| | | | | |  | 
 | 
| | | | | |  | 
 | 
| | | | | | 
| | | | | 
| | | | |  | 
Co-authored-by: Rohan Reddy Alleti <[email protected]>
 | 
| | | | | |  | 
 | 
| | | | | |  | 
 | 
| | | | | |  | 
 | 
| | |/ / /   | 
 | 
| | | |/  
| |/|   
| | |    | 
Negative indexing starts at -1, not 0, meaning lower bound should be -1 * len(zen_lines), not -1 * upper_bound.
 | 
| | |\ \  
| | | | 
| | | |  | 
Allow eval almost everywhere
 |