| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Bound arguments are more convenient to work with than the raw args
and kwargs.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Supporting ID retrieval by arg name or position made for a confusing
interface. I also doubt it would have been used much. A callable can
achieve the same thing, albeit with a little more code.
Now the decorator instead supports passing an ID directly or a callable.
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This will be used to prevent race conditions on a resource by stopping
all other access to the resource once its been acquired.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
It's fine to accept an int since it'll get converted to a string anyway.
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Only one call was benefiting from that function also cancelling the
task. Therefore, the function was redundant and has been replaced with
a direct request to delete.
This change has the consequence of also fixing reminder tasks cancelling
themselves. That issue was potentially suppressing errors (such as the
duplicate DELETE request which was fixed earlier). Under normal
circumstances, the scheduler will automatically removed finished tasks
so tasks won't need to cancel/remove themselves.
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
`send_reminder` already deletes the reminder so it's redundant to
delete it in the scheduled task too.
|
| | | | | | | | | |
|
| | | | | | | | |\
| | |_|_|_|_|_|/
| |/| | | | | | |
|
| | |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
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
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
command call.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
with `ctx.send_help`.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
getting with `ctx.send_help`.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
getting with `ctx.send_help`, replaced `ctx.invoke` with direct command call.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
`ctx.send_help`.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
`ctx.send_help`.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
`ctx.send_help`.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
command calling, replaced `help` command getting with `ctx.send_help`.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
`ctx.send_help`.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
getting with `ctx.send_help`.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
with `ctx.send_help`.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
`ctx.send_help`.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
calling command.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
commands calling.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
commands calling.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
commands calling.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
`UserInfractionHelperMethodTests.`
|