aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | * | | | | | | | HelpChannels: fix incomplete init of available channel setGravatar MarkKoz2021-08-15-5/+4
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the cog is reloaded while there are less than the maximum amount of available channels, it makes some channels available until the limit is reached. When a channel is made available, it updates the `available_help_channels` set. The `update_available_help_channels()` function would not update this set if it saw that the set already contains elements. This resulted in only the channels that were just made available being in the set; the set would not contain the channels that were already available when the bot started. Fix this by unconditionally populating the set, but moving it to `init_available()` so it only happens once. Fix BOT-Z1 Fix #1715
| * | | | | | | | | Merge pull request #1677 from python-discord/mbaruh/jam-managementGravatar Boris Muratov2021-08-16-214/+390
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Additional code jam management utilities
| | * \ \ \ \ \ \ \ \ Merge branch 'main' into mbaruh/jam-managementGravatar Boris Muratov2021-08-16-571/+1612
| | |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge pull request #1745 from python-discord/fix-nomination-archive-checkGravatar Matteo Bertucci2021-08-15-8/+10
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fix: Nomination message now checks historic and new style nominations
| | * | | | | | | | | | fix: Nomination message now checks historic and new style nominationsGravatar Chris Lovering2021-08-12-8/+10
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously nomination messages had role pings in them, now they don't as we moved them into a thread. Due to this, we need to detect both in the interim of historic nominations existing. A 'proper' fix for this is to store the nomination message IDs when we post them against the nomination object in the site api. We are planing to work on this soon, this commit is a short term fix.
| | * | | | | | | | | Merge branch 'mbaruh/jam-management' of ↵Gravatar mbaruh2021-08-15-1/+1
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/bot into mbaruh/jam-management
| | | * | | | | | | | | Add default value to csv_fileGravatar Boris Muratov2021-08-15-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | * | | | | | | | | | Add `cj end` timeout message, improve styleGravatar mbaruh2021-08-15-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | * | | | | | | | | | Add team name to audit log reasonGravatar mbaruh2021-08-15-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Interestingly enough, the reason doesn't seem to be displayed for channel permission overrides.
| | * | | | | | | | | | Docstring correctionsGravatar mbaruh2021-08-15-4/+4
| | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | * | | | | | | | | Improved codejam end confirmationGravatar mbaruh2021-07-25-15/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The command now sends the details of all channels about to be deleted to the pasting service, and confirmation is done through a reaction by the invoker of the command within a limited time (10 seconds).
| | * | | | | | | | | Fix end command docstringGravatar mbaruh2021-07-08-2/+2
| | | | | | | | | | |
| | * | | | | | | | | Added command to remove from teamGravatar mbaruh2021-07-08-0/+12
| | | | | | | | | | |
| | * | | | | | | | | More code jam functionalityGravatar Boris Muratov2021-07-08-1/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - An info embed with team the member is in. The team is decided by finding in which channel the member has overwrites. - Command to move a member from one team to another by changing the permissions of the appropriate team channels. - A command to end the code jam and delete all the team channels and categories.
| | * | | | | | | | | Move jam channels creation to separate fileGravatar mbaruh2021-07-08-146/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The channel creations are static and clutter the cog class. We want to add more commands to the cog, so we move the static functions away to a separate file first.
| | * | | | | | | | | Create events ext, prepare jams cog for file splitGravatar mbaruh2021-07-07-11/+19
| | | | | | | | | | |
| | | | * | | | | | | change docstring in escape markdown to reflect actual behaviorGravatar Ryu182021-08-16-1/+1
| | | | | | | | | | |
| | | | * | | | | | | apply changes for review ↵Gravatar Ryu182021-08-16-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/bot/pull/1725\#pullrequestreview-730223166
| | | | * | | | | | | Removed commentGravatar Ryu18452021-08-08-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code is now almost completely different from discord.py.
| | | | * | | | | | | fix linting issuesGravatar Ryu182021-08-07-2/+2
| | | | | | | | | | |
| | | | * | | | | | | added escape markdown in PythonNewsGravatar Ryu182021-08-07-2/+9
| | | | | | | | | | |
| | | | | * | | | | | Modify reminder response messages to be in the correct formatGravatar D0rs4n2021-08-22-2/+2
| | | | | | | | | | |
| | | | | * | | | | | Provide jump_url in reminders even when the bot repliesGravatar D0rs4n2021-08-17-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the message is in the same channel and the bot replies, from now on it will also provide a jump_url for the sake of consistency
| | | | | * | | | | | Improve code consitency in remaindersGravatar D0rs4n2021-08-13-2/+2
| | | | | | | | | | |
| | | | | * | | | | | Update reminders to reply instead of using a jump url to the origin messageGravatar D0rs4n2021-08-13-15/+22
| | |_|_|/ / / / / / | |/| | | | | | | |
| * | | | | | | | | Remove role pings when a helper vote is posted (#1744)Gravatar ChrisJL2021-08-11-2/+2
| | | | | | | | | |
| * | | | | | | | | Merge #1726 - catch various 404s from message operationsGravatar Mark2021-08-11-12/+37
| |\ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / | |/| | | | | | | |
| | * | | | | | | | Merge branch 'main' into bug/message-404Gravatar Mark2021-08-11-13/+16
| | |\ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | |
| * | | | | | | | | Merge pull request #1740 from python-discord/TizzySaurus-patch-1Gravatar Matteo Bertucci2021-08-11-1/+1
| |\ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / | |/| | | | | | | | Remove added punctuation from reminder
| | * | | | | | | | Remove added punctuation from reminderGravatar TizzySaurus2021-08-11-1/+1
| |/ / / / / / / /
| * | | | | | | | Merge pull request #1738 from python-discord/dynamic-dormant-messageGravatar ChrisJL2021-08-11-5/+13
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Make DORMANT_MSG Dynamic
| | * | | | | | | | Fetch dormant category rather than use channel.categoryGravatar TizzySaurus2021-08-11-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | channel.category doesn't get updated in cache so the category ends up still linking to "In Use", whereas we want the "Dormant".
| | * | | | | | | | Change bot.get_channel to utils.channels.try_get_channelGravatar TizzySaurus2021-08-11-1/+1
| | | | | | | | | |
| | * | | | | | | | Make DORMANT_MSG a string instead of f-stringGravatar TizzySaurus2021-08-11-1/+1
| | | | | | | | | |
| | * | | | | | | | Update embed sent when channel moves to dormant categoryGravatar TizzySaurus2021-08-11-1/+8
| | | | | | | | | |
| | * | | | | | | | Update DORMANT_MSG to allow kwargs in str.format()Gravatar TizzySaurus2021-08-11-3/+3
| | | | | | | | | |
| | * | | | | | | | Update DORMANT_MSG to be compatible with str.format()Gravatar TizzySaurus2021-08-11-3/+3
| |/ / / / / / / /
| * | | | | | | | Merge pull request #1733 from ↵Gravatar Matteo Bertucci2021-08-10-5/+0
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/chore/vcokltfre/blocking-tag-newlines chore: remove some newlines in the blocking tag
| | * | | | | | | | chore: remove some newlines in the blocking tagGravatar vcokltfre2021-08-10-5/+0
| |/ / / / / / / /
| * | | | | | | | Merge pull request #1732 from SuperstalkerX/patch-1Gravatar Xithrius2021-08-10-1/+1
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Fixed error message to match true value
| | * | | | | | | | Fixed error message to match true valueGravatar stalkerx2021-08-09-1/+1
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | When the limit was raised, the error message was not edited to reflect the change. https://github.com/python-discord/bot/commit/6f45d6896adb3f05962733cec8e5db199def20bc
| | * | | | | | | Duck pond: abort if reaction's message or author can't be foundGravatar MarkKoz2021-08-07-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes BOT-1J7
| | * | | | | | | Code block: catch 404s when editing or deleting the messageGravatar MarkKoz2021-08-07-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes BOT-J2
| | * | | | | | | Incidents: catch 404sGravatar MarkKoz2021-08-07-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes BOT-ZN
| | | | | | | | * remove redundant typehintsGravatar Numerlor2021-08-14-3/+0
| | | | | | | | |
| | | | | | | | * fix wrong name being interpolatedGravatar Numerlor2021-08-09-1/+1
| | | | | | | | |
| | | | | | | | * Assign converters to their return values during type checkingGravatar Numerlor2021-08-09-0/+20
| | | | | | | | |
| | | | | | | | * Move all converters to converters.pyGravatar Numerlor2021-08-09-73/+81
| | |_|_|_|_|_|/ | |/| | | | | |
| * | | | | | | Merge pull request #1727 from onerandomusername/patch-1Gravatar Joe Banks2021-08-08-1/+1
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | change dockerfile python version to latest 3.9.x
| | * | | | | | change dockerfile python version to latest 3.9.xGravatar aru2021-08-08-1/+1
| |/ / / / / /