aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* AntiSpam: create tasks in a safer mannerGravatar MarkKoz2021-04-09-8/+9
| | | | | Name the tasks and use `scheduling.create_task` to ensure exceptions are caught.
* AntiSpam: prevent attempts to punish a user multiple timesGravatar MarkKoz2021-04-09-1/+3
| | | | | | | | | | | | | | A user may manage to send multiple message that violate filters before the mute is applied. Because of a race condition, subsequent punish attempts did not detect the mute role exists and therefore proceeded to apply another mute. To avoid the race condition, abort any subsequent punish attempts while one is already ongoing for a given user. It could be possible to wait instead of abort, but the first attempt failing very likely means subsequent attempts would fail too. Fixes #902
* Merge pull request #1511 from onerandomusername/defcon-voice-shutdownGravatar Matteo Bertucci2021-04-09-2/+2
|\ | | | | Close voice channels with defcon shutdown
| * Close voice channels with defcon shutdownGravatar onerandomusername2021-04-08-2/+2
|/
* Merge pull request #1509 from bsoyka/ytdl-termsGravatar Xithrius2021-04-08-4/+4
|\ | | | | Update YouTube terms in the `ytdl` tag
| * Use the UK version of the YouTube TOSGravatar Ben Soyka2021-04-07-3/+3
| |
| * Update YouTube terms in the ytdl tagGravatar Ben Soyka2021-04-07-4/+4
|/
* Merge pull request #1504 from python-discord/reduce-default-stream-durationGravatar Matteo Bertucci2021-04-06-1/+1
|\ | | | | Reduce default duration of stream permission from 30m to 5m
| * Reduce default duration of stream permission from 30m to 5mGravatar Chris2021-04-06-1/+1
|/
* Merge pull request #1493 from python-discord/stream-and-revokestream-commandsGravatar Matteo Bertucci2021-04-06-2/+199
|\ | | | | Stream and revokestream commands
| * Merge branch 'main' into stream-and-revokestream-commandsGravatar Matteo Bertucci2021-04-06-153/+61
| |\ | |/ |/|
* | Merge pull request #1499 from bsoyka/user-colorsGravatar ChrisJL2021-04-05-12/+10
|\ \ | | | | | | Ignore colourless roles for the `!user` embed color
| * \ Merge branch 'main' into user-colorsGravatar ChrisJL2021-04-05-16/+33
| |\ \ | |/ / |/| |
* | | Merge pull request #1500 from python-discord/vcokltfre-intents-classmethodGravatar ChrisJL2021-04-05-1/+1
|\ \ \ | | | | | | | | Don't create an instance of intents before calling its classmethod
| * \ \ Merge branch 'main' into vcokltfre-intents-classmethodGravatar ChrisJL2021-04-05-1/+1
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #1501 from python-discord/ks123/ghcr-token-to-githubGravatar ks1292021-04-05-1/+1
|\ \ \ \ | | | | | | | | | | Migrate GHCR_TOKEN -> GITHUB_TOKEN in Docker build action
| * | | | Migrate GHCR_TOKEN -> GITHUB_TOKEN in Docker build actionGravatar ks1292021-04-05-1/+1
|/ / / / | | | | | | | | GITHUB_TOKEN has now enough permissions to be used for pushing to GHCR, so we don't need PAT anymore.
| * / / chore: don't create an instance of intents before calling its classmethodGravatar vcokltfre2021-04-05-1/+1
|/ / /
* | | Merge pull request #1479 from python-discord/limit-nominate-command-channelsGravatar Matteo Bertucci2021-04-04-14/+31
|\ \ \ | | | | | | | | Limit nominate command channels
| * \ \ Merge branch 'main' into limit-nominate-command-channelsGravatar Matteo Bertucci2021-04-04-1275/+1371
| |\ \ \ | |/ / / |/| | |
| * | | config and constants changesGravatar wookie1842021-03-22-4/+1
| | | | | | | | | | | | | | | | Added moderators category to constants.py, and removed mods and mod_spam from config as no longer used
| * | | Limit nominate to nominations channelGravatar wookie1842021-03-21-2/+28
| | | | | | | | | | | | | | | | Added a forcenominate command to allow mods to override this if necessary
| * | | Added moderators category to configGravatar wookie1842021-03-21-10/+4
| | | | | | | | | | | | | | | | | | | | This was not done previously as the defcon channel in the category was viewable by helpers, but now it is mods+ I also removed the now unnecessary constants for whitelisted channels
| | * | Minor test changes for the !user embedGravatar Ben Soyka2021-04-05-10/+6
| | | |
| | * | Update information tests for new embed color logicGravatar Ben Soyka2021-04-04-6/+8
| | | |
| | * | Use Member.colour rather than a list comprehension for !userGravatar Ben Soyka2021-04-04-3/+1
| | | |
| | * | Ignore colourless roles in !user embedGravatar Ben Soyka2021-04-04-1/+3
| |/ / |/| |
* | | Merge pull request #1497 from python-discord/mbaruh-staff_infoGravatar Boris Muratov2021-04-04-0/+2
|\ \ \ | | | | | | | | Blacklist staff_info for duckpond
| * | | Blacklist staff_info for duckpondGravatar Boris Muratov2021-04-04-0/+2
|/ / /
* | | Merge pull request #1464 from python-discord/allow-poll-to-leadsGravatar ks1292021-04-01-2/+6
|\ \ \ | | | | | | | | Allow !poll to leads
| * \ \ Merge branch 'main' into allow-poll-to-leadsGravatar ks1292021-04-01-1151/+1276
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #1492 from python-discord/fix-delete-closing-reason-statGravatar Matteo Bertucci2021-04-01-1/+2
|\ \ \ \ | | | | | | | | | | Use deleted reason if help channel is closed due to being empty
| * \ \ \ Merge branch 'main' into fix-delete-closing-reason-statGravatar Matteo Bertucci2021-04-01-791/+774
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #1494 from python-discord/policy-documentsGravatar Matteo Bertucci2021-04-01-122/+8
|\ \ \ \ \ | | | | | | | | | | | | Update our policy documents
| * | | | | Update policy documentsGravatar Matteo Bertucci2021-04-01-122/+8
|/ / / / /
| * | | | Use deleted reason if help channel is closed due to being emptyGravatar Chris2021-03-30-1/+2
| | | | |
| | * | | Alphabetize configurationGravatar Matteo Bertucci2021-03-30-5/+5
| | | | |
| | * | | Merge branch 'main' into allow-poll-to-leadsGravatar Matteo Bertucci2021-03-30-211/+627
| | |\ \ \
| | * | | | Allow the !poll command to leadsGravatar Matteo Bertucci2021-03-13-2/+2
| | | | | |
| | * | | | Add leads to the constantsGravatar Matteo Bertucci2021-03-13-0/+4
| | | | | |
| | | | | * Add a comment to _reload_tasks_from_redis() in the Stream cog.Gravatar Chris2021-04-06-0/+2
| | | | | |
| | | | | * Convert back to datetime as Embed.timestamp doesn't support ArrowGravatar Chris2021-04-05-1/+2
| | | | | |
| | | | | * Output stream command confimation in embed for automatic tz conversionGravatar Chris2021-04-05-4/+14
| | | | | |
| | | | | * Remove redundant conversion to Arrow datetime in Stream cogGravatar Chris2021-04-03-1/+1
| | | | | |
| | | | | * Merge branch 'stream-and-revokestream-commands' of ↵Gravatar Chris2021-04-01-2/+2
| | | | | |\ | | | | | | | | | | | | | | | | | | | | | github.com:python-discord/bot into stream-and-revokestream-commands
| | | | | | * Reword logging and docstrings to different moodGravatar ChrisJL2021-04-01-2/+2
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| | | | | * | Mention user when upgrading streaming permissions to permanentGravatar Chris2021-04-01-1/+1
| | | | | | |
| | | | | * | Ensure duration is always tz-awareGravatar Chris2021-04-01-2/+7
| | | | | |/
| | | | | * Use tz aware timestamps and refactor for readibility - Stream cogGravatar Chris2021-04-01-5/+3
| | | | | |
| | | | | * Update schedule_at() to work with tz aware date timesGravatar Chris2021-04-01-2/+6
| | | | | |