aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* HelpChannels: use utility method to get available channelsGravatar MarkKoz2021-08-16-3/+1
|
* HelpChannels: simplify formatting of category names in dormant msgGravatar MarkKoz2021-08-15-9/+6
| | | | | Remove redundant retrieval of category objects. Include the asking guide URL in the message via an f-string.
* 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.
* | 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
* | | 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
|/ / /
| * | 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
* | Merge pull request #1678 from D0rs4n/pr/serverinfoleadsGravatar ChrisJL2021-08-06-8/+37
|\ \ | | | | | | Add `Leads` to Server info Embed.
| * \ Merge branch 'main' into pr/serverinfoleadsGravatar ChrisJL2021-08-06-111/+269
| |\ \ | |/ / |/| |
* | | Merge pull request #1709 from ↵Gravatar ChrisJL2021-08-04-13/+14
|\ \ \ | | | | | | | | | | | | | | | | python-discord/bug/bot-1jd/backend/wait-for-deletion-404 Catch 404 error when waiting to delete message
| * \ \ Merge branch 'main' into bug/bot-1jd/backend/wait-for-deletion-404Gravatar ChrisJL2021-08-04-90/+230
| |\ \ \ | |/ / / |/| | |
* | | | Reorder user roles in !user command from highest to lowest (#1719)Gravatar Objectivitix2021-08-04-1/+3
| | | | | | | | | | | | Reorder user roles in !user command from highest to lowest
* | | | Suppress 403 error when sending DEFCON reject DM (#1711)Gravatar Mark2021-08-04-3/+5
| | | | | | | | | | | | | | | | | | | | 403 occurs if the user has DMs disabled. Fixes BOT-137
* | | | Merge pull request #1708 from python-discord/bug/mod/1706/infr-append-no-reasonGravatar Boris Muratov2021-08-04-1/+1
|\ \ \ \ | | | | | | | | | | Fix TypeError when infraction append is not given a reason
| * \ \ \ Merge branch 'main' into bug/mod/1706/infr-append-no-reasonGravatar Boris Muratov2021-08-04-85/+221
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Force utf-8 decoding when querying metabaseGravatar Chris Lovering2021-08-03-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some discord usernames contain unicode characters, which causes an decoding error as chardet isn't 100% and can't falsely detect the response text as Windows-1254.
* | | | | Merge pull request #1705 from wookie184/autoreview-toggleGravatar Boris Muratov2021-08-03-4/+66
|\ \ \ \ \ | | | | | | | | | | | | Add commands to turn automatic review posting on or off
| * \ \ \ \ Merge branch 'main' into autoreview-toggleGravatar Boris Muratov2021-08-03-79/+153
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #1712 from python-discord/mbaruh-patch-1Gravatar ChrisJL2021-08-03-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Correctly delete from cache in ModPings
| * \ \ \ \ \ Merge branch 'main' into mbaruh-patch-1Gravatar ChrisJL2021-08-03-78/+131
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Update Sentry SDK to 1.3Gravatar MarkKoz2021-08-03-78/+131
| | | | | | |
| * | | | | | Correctly delete from cacheGravatar Boris Muratov2021-08-03-1/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | * Fixed wrong condition in rescheduler which made the eventual consistency not work. * Mods now correctly removed from cache on role reapplies.
* | | | | | Add virtual environment (venv) tag (#1702)Gravatar Zack Didcott2021-08-02-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add virtual environment (venv) tag Co-authored-by: bast0006 <[email protected]> Co-authored-by: wookie184 <[email protected]> Co-authored-by: Xithrius <[email protected]>
| * | | | | Add comment on RedisCacheGravatar wookie1842021-08-03-0/+2
| | | | | |
| * | | | | Add check for redundant changeGravatar wookie1842021-08-03-0/+8
| | | | | |
| * | | | | Remove bot prefix from docstring and change single quotes to doubleGravatar wookie1842021-08-03-11/+11
| | | | | |
| * | | | | Rename commands from on/off to enable/disableGravatar wookie1842021-08-02-8/+8
| | | | | | | | | | | | | | | | | | Added on/off as aliases
| * | | | | Small code improvements and added 'ar' aliasGravatar wookie1842021-08-02-6/+7
| | | | | |
| * | | | | Add commands to turn automatic review posting on or offGravatar wookie1842021-08-01-4/+55
|/ / / / /