| Commit message (Collapse) | Author | Age | Lines |
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
discord.py 1.3.x Functionality Migrating
|
| | |\
| |/
|/| |
|
| |\ \
| | |
| | | |
Escape markdown in faulty source commands
|
| | |\ \
| |/ /
|/| | |
|
| |\ \ \ |
|
| | | | | |
|
| |/ / /
| | |
| | |
| | | |
Closes #1176
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Double backtick will break if argument contains a double backtick, so getting rid of the codeblock itself makes more sense in my opionion.
Also fix the style issue with multiline string by storing the escaped arg in another variable
|
| | | |
| | |
| | |
| | | |
I had flake8 turned off in my dpy env -_-
|
| |/ /
| |
| |
| | |
Closes #1177
|
| |\ \ |
|
| | | |
| | |
| | |
| | | |
It's obsolete code because the cog has been removed.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Last few aliases are an anomaly since #1124 was merged. The remaining
aliases are seldom used. The code isn't exactly clean and it has some
maintenance costs.
Resolves #1159
|
| |\ \ \
| | | |
| | | | |
Duck pond: ignore reactions in DMs
|
| | | | | |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also handle the channel not being found, which may be due to a cache
issue or because it got deleted.
Fixes #1183
Fixes BOT-8T
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
python-discord/bug/backend/1181/wait-for-deletion-404
Catch 404 in wait_for_deletion when reacting
|
| | |\ \ \
| |/ / /
|/| | | |
|
| |\ \ \ \
| |_|/ /
|/| | | |
Remove null chars before posting deleted messages
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Our API doesn't allow null characters in the content field. It may be
present because of a self bot that is able to send such character.
Fixes #1182
Fixes BOT-8E
|
| |/ /
| |
| |
| |
| |
| | |
The message may be deleted before the bot gets a chance to react.
Fixes #1181
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
This shouldn't be a warning, as we cannot do anything about it.
Fixes BOT-8X
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Now, when we send a DM and it fails:
* Ignore if due to disabled DMs
* Log exception otherwise
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Note that we were previously only catching 403. As the docstring
explains, we will now catch any Discord exception and only look
at the the code, rather than the status.
|
| |\| | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
This also bumps minor versions of several other packages. I've spun up
the bot and played around with it, and run all unit tests. Everything
still seems to be in order.
|
| | | |
| | |
| | |
| | |
| | | |
This rewords the welcome DM, and adds the new Welcome
To Python Discord video to it.
|
| | |\ \ |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
The comment doesn't contribute anything.
|
| | | |\ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The ternary is a bit confusing.
Co-authored-by: Numerlor <[email protected]>
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The confirmation was intended to be a safe guard against cache issues
that would cause a huge number of roles/users to deleted after syncing.
With `wait_until_guild_available`, such cache issue shouldn't arise.
Therefore, this feature is obsolete.
Resolve #1075
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Closes #1173
|
| |/ / / / |
|
| |\ \ \ \
| | | | |
| | | | | |
Add userid decoding and user token detection to the token removal moderation feature
|
| | | | | |
| | | | |
| | | | |
| | | | | |
extract_user_id(id) is not None does the same job and is not worth the extra function
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Clean up mock usage, docstrings, unnecessarily split-lined function calls
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
the current server
Also adjust the naming and purposes of the format messages to KNOWN and UNKNOWN token messages.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
userid -> user ID
maybevalid -> maybe_valid
remove collections import
and added a new function that handles the "format user ID log message" and should_ping_everyone feature
|
| | |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Resynchronize changes with the new cog folder arrangement
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Handles cases like xxx.xxxxx.xxxxxxxx where a user has intentionally censored part of a token, and will not consider them "valid"
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
in the server
Updated tests
This comes with a change that a user ID must actually be able to be decoded into an integer to be considered a valid token
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Adjust verification & incidents log levels
|
| | | | | | | | |
|