bot
bot copied to clipboard
The community bot for the Python Discord community
Details the gotcha of removing items from a collection while iterating that collection inside a for loop. This should add tags for `!loop-remove`, `!loop-add`, and `!loop-modify`, all pointing to the...
Sentry Issue: [BOT-15](https://sentry.io/organizations/python-discord/issues/1526290983/?referrer=github_integration) This seems to be a result of the syncer retrieving a list of users to add to the API after a member has joined but before the...
This has been originally raised by @vivekashok1221 [here](https://github.com/python-discord/bot/pull/2839#issuecomment-2006919990) The current scenario is this # Scenario 1. A user is muted for 4 days 2. The user leaves the server 3....
Sentry Issue: [BOT-53](https://sentry.io/organizations/python-discord/issues/1683118895/?referrer=github_integration) ``` ResponseCodeError: Status: 400 Response: {'deletedmessage_set': [{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},...
Closes #1327. The bookmark command (Sir Lancebot) allows other people to click a button to receive a copy of a bookmark when someone bookmarks a message. This PR adds a...
Fixes 3 related issues, details in commit messages. Closes #999 Closes #1068 Closes #1184 I decided not to typehint more precisely than `dict` because the rest of the cog doesn't...
Sentry Issue: [BOT-7B](https://sentry.io/organizations/python-discord/issues/1800202379/?referrer=github_integration) This may be related to the user choosing to not updated the cache when invoking the command, but it's odd that any response, even cached ones, would...
Sentry Issue: [BOT-84](https://sentry.io/organizations/python-discord/issues/1847909973/?referrer=github_integration) I suppose it just needs to create another copy for iteration. Is there a more elegant solution? ``` RuntimeError: dictionary changed size during iteration File "bot/cogs/watchchannels/watchchannel.py", line...
Sentry Issue: [BOT-3A](https://sentry.io/organizations/python-discord/issues/1613515206/?referrer=github_integration) There are over 500 events of this in Sentry. The events tend to be clumped within a relatively small time range of several hours, and these clumps...
Currently a reminder will be ignored+deleted if the bot cannot get the channel it was meant to reply in: https://github.com/python-discord/bot/blob/324cb65b5e2fbc52cb494f02a11dc40e56f0a5cb/bot/exts/utils/reminders.py#L112-L124 This could happen if the remind command was run in...