| Commit message (Collapse) | Author | Lines |
|
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
* Fix !clean users command to properly handle more than one user
* Make !clean user an alias of !clean users instead of the other way around
Co-authored-by: Xithrius <[email protected]>
|
|
Co-authored-by: Xithrius <[email protected]>
|
|
Co-authored-by: Xithrius <[email protected]>
|
|
This is to aid in the debugging on an issue we have encountered
|
|
This also updates the log string to use % based format strings, rather than a mix of f-string and % string which caused the %r to not work.
|
|
|
|
|
|
|
|
Removes trailing slashes from invites in the invite filter to prevent
false positives.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Bumps the botcore version to v7.0.0, and implements the changes required
by the breaking fix documented in the changelog for
`utils.regex.DISCORD_INVITE`.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Closes #2162 Closes BOT-343
self.bot.api_client.request can not be used to check if a thread id exists in the bumped thread list on site, as self.bot.api_client.request() always attempts to decode the response as json.
The thread bump viewset in site returns a 204 if the given thread exists with no content, so this does not work.
|
|
* Update intents.md
* Minor wording changes
Co-authored-by: wookie184 <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
The task is no longer created in the cog
|
|
if the expire "cache" is not reset, the class assumes an expire is set,
even though no expire was set for the key
|
|
The new versions introduce conversions which causes the doc command
embed to be formatted improperly
|
|
Force all banners to be structured under directories instead of
as standalone files.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Closes BOT-33Z Closes #2154
With the latest version of discord.py support for the with Messageable.typingn() was droped, in favour of only using async with.
|
|
Adds support for having multiple banners which rotate in a single event,
much like icons currently do. There are almost no code changes here as
most of the required logic was already implemented, and was standardized
to work for both icons and banners.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
one of the commits in this bump dynamically extends the timeout of Guild.chunk() based on the number or members, so it should actually work on our guild now.
|
|
|
|
Adds a 30-minute timeout while waiting for the guild to be chunked in
the sync cog, after which the cog is not loaded.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
The user syncer was blocking the startup of the sync cog due to having
to perform thousands of pointless member fetch requests. This speeds up
that process by increasing the probability that the cache is up-to-date
using `Guild.chunked`, and limiting the fetches to members who were in
the guild during the previous sync only.
Co-authored-by: ChrisJL <[email protected]>
Co-authored-by: wookie184 <[email protected]>
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Make `ALLOWED_CHARACTERS` a raw string to account for slashes
|
|
Additionally, this adds a check which will remove entries in the redis cache of former moderators.
|
|
This is necessary after cog loading was made async in a new discord.py version
|
|
This change loads each cog in their own task, meaning if one fails, others still load.
|
|
|
|
|
|
|
|
Loading order is not guaranteed. Sleep until the cog loads.
|
|
Closes #2141 Closes BOT-33P
|
|
Closes #2139 Closes BOT-33N
|
|
This is being fixed in https://github.com/python-discord/bot/pull/2001
|
|
|
|
|
|
|
|
|