| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2021-08-16 | Improve output message consistency in webhook_remover | -1/+1 | ||
| Co-authored-by: Bluenix <[email protected]> | ||||
| 2021-08-16 | Patch the regEx pattern in webhook_remover to match edge cases | -1/+4 | ||
| The regEx pattern did not match the 'https://' part in case of canary urls Thus, from now on the regEx pattern matches the full canary urls as well. | ||||
| 2021-08-16 | Fix up, and improve code consistency in webhook_remover | -2/+2 | ||
| 2021-08-16 | Remove the admins mention from the modmail tag | -1/+1 | ||
| 2021-08-16 | Improve code consistency in webhook_remover | -9/+7 | ||
| 2021-08-15 | HelpChannels: simplify formatting of category names in dormant msg | -9/+6 | ||
| Remove redundant retrieval of category objects. Include the asking guide URL in the message via an f-string. | ||||
| 2021-08-15 | HelpChannels: fix incomplete init of available channel set | -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 | ||||
| 2021-08-16 | Enhance security in the Webhook remover. | -6/+14 | ||
| From now on, webhooks that were posted in the chat will be also deleted from Discord in order to eliminate the risk. | ||||
| 2021-08-15 | Add `cj end` timeout message, improve style | -1/+2 | ||
| Co-authored-by: Bluenix <[email protected]> | ||||
| 2021-08-15 | Add team name to audit log reason | -1/+5 | ||
| Interestingly enough, the reason doesn't seem to be displayed for channel permission overrides. | ||||
| 2021-08-15 | Docstring corrections | -4/+4 | ||
| Co-authored-by: Bluenix <[email protected]> | ||||
| 2021-08-15 | Add default value to csv_file | -1/+1 | ||
| Co-authored-by: Bluenix <[email protected]> | ||||
| 2021-08-12 | fix: Nomination message now checks historic and new style nominations | -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. | ||||
| 2021-08-11 | Remove role pings when a helper vote is posted (#1744) | -2/+2 | ||
| 2021-08-11 | Remove added punctuation from reminder | -1/+1 | ||
| 2021-08-11 | Fetch dormant category rather than use channel.category | -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". | ||||
| 2021-08-11 | Change bot.get_channel to utils.channels.try_get_channel | -1/+1 | ||
| 2021-08-11 | Make DORMANT_MSG a string instead of f-string | -1/+1 | ||
| 2021-08-11 | Update embed sent when channel moves to dormant category | -1/+8 | ||
| 2021-08-11 | Update DORMANT_MSG to allow kwargs in str.format() | -3/+3 | ||
| 2021-08-11 | Update DORMANT_MSG to be compatible with str.format() | -3/+3 | ||
| 2021-08-10 | chore: remove some newlines in the blocking tag | -5/+0 | ||
| 2021-08-09 | Fixed error message to match true value | -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 | ||||
| 2021-08-08 | change dockerfile python version to latest 3.9.x | -1/+1 | ||
| 2021-08-07 | Duck pond: abort if reaction's message or author can't be found | -1/+7 | ||
| Fixes BOT-1J7 | ||||
| 2021-08-07 | Code block: catch 404s when editing or deleting the message | -7/+10 | ||
| Fixes BOT-J2 | ||||
| 2021-08-07 | Incidents: catch 404s | -4/+20 | ||
| Fixes BOT-ZN | ||||
| 2021-08-04 | Reorder user roles in !user command from highest to lowest (#1719) | -1/+3 | ||
| Reorder user roles in !user command from highest to lowest | ||||
| 2021-08-04 | Suppress 403 error when sending DEFCON reject DM (#1711) | -3/+5 | ||
| 403 occurs if the user has DMs disabled. Fixes BOT-137 | ||||
| 2021-08-03 | Force utf-8 decoding when querying metabase | -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. | ||||
| 2021-08-03 | CodeSnippets: don't send snippets if the original message was deleted | -3/+7 | ||
| Fixes BOT-13B | ||||
| 2021-08-03 | CodeSnippets: refactor snippet parsing into a separate function | -8/+12 | ||
| 2021-08-03 | CodeSnippets: move __init__ to the top of the class definition | -11/+11 | ||
| 2021-08-03 | CodeSnippets: refactor on_message | -35/+38 | ||
| Reduce nesting and code duplication. | ||||
| 2021-08-03 | Add comment on RedisCache | -0/+2 | ||
| 2021-08-03 | Update Sentry SDK to 1.3 | -78/+131 | ||
| 2021-08-03 | Correctly delete from cache | -1/+2 | ||
| * Fixed wrong condition in rescheduler which made the eventual consistency not work. * Mods now correctly removed from cache on role reapplies. | ||||
| 2021-08-03 | Add check for redundant change | -0/+8 | ||
| 2021-08-03 | Remove bot prefix from docstring and change single quotes to double | -11/+11 | ||