| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
| |
Overwrites can be edited during a silence, which can result in the
overwrites check failing. Checking the scheduler too ensures that
a duplicate silence won't be scheduled.
|
| |
|
|
|
|
|
|
|
|
| |
No longer assume default values for the overwrites which are modified.
Save and restore previous values `add_reactions` and `send_messages`
via redis.
When unsilencing, check if a channel is silenced via the redis cache
rather than the channel's current overwrites to ensure the task is
cancelled even if overwrites were manually edited.
|
| |\
| |
| | |
Fix typo on the traceback tag
|
| |/
|
| |
See issue #1101
|
| |\
| |
| | |
Remove api endpoint config values.
|
| | |\
| |/
|/| |
|
| | | |
|
| | | |
|
| |/
|
|
|
| |
The constants aren't used anywhere in the bot,
and are incompatible with the APIClient.
|
| |\
| |
| |
| |
| | |
python-discord/bug/filters/1027/ignore-webhook-names
Ignore webhooks for nickname filter
|
| | |\
| |/
|/| |
|
| |\ \
| | |
| | | |
Utils: show error message for long poll titles
|
| | |\ \
| |/ /
|/| | |
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
Help channel message pin fixes
|
| | |\ \ \
| |/ / /
|/| | | |
|
| |\ \ \ \ |
|
| | |\ \ \ \
| |/ / / /
|/| | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Deps: update discord.py to 1.4.0
|
| |/ / / / /
| | | | |
| | | | |
| | | | | |
It was released on PyPI. No longer need to clone via git.
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
python-discord/bug/backend/1080/cog-reload-cancel-scheduler
Cancel scheduled tasks when cogs unload
|
| | |\ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
RedisCache: remove erroneous `_redis` alias
|
| | |\ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Source: raise BadArgument for dynamically-created objects
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The code is identical to the else block and there's no reason for
help commands to have an explicit check.
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Commands, cogs, etc. created via internal eval won't have a source file
associated with them, making source retrieval impossible.
Fixes #1083
Fixes BOT-7K
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This reverts commit 59c62162
|
| |\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
HelpChannels: use more reliable check for claimed channel
|
| | |/ / / / / /
|/| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
If a RedisCache instance was being accessed before bot has created
the `redis_cache` instance, the `_redis` alias was being set to
None, causing AttributeErrors in lookups.
See: #1090
|
| | |/ / / / /
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When cogs reload, they used new Scheduler instances, which aren't aware
of previously scheduled tasks. This led to duplicate scheduled tasks
when cogs re-scheduled tasks upon initialisation.
Fixes #1080
Fixes BOT-7H
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The claimed channel check in `on_message` relies on the cache being
cleared when a channel goes dormant. If it's not cleared, it will think
the channel is still in use.
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Using the channel's category isn't reliable since it may take Discord a
while to actually move the channel once it's received a request from the
bot. I suppose using redis technically has the same problem, but it
should be much faster and less susceptible to lag than Discord.
Fixes #1074
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
The bot's pin message was being picked up as the last message, so the
system was not considering the channel empty.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This can be used for both pinning and unpinning messages. The error
handling code was largely similar between them.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Fixes #1082
Fixes BOT-7G
|
| | | | | |
|
| |/ / / |
|
| |/ /
| |
| |
| |
| |
| |
| | |
Embeds have a maximum length of 256 for titles.
Fixes #1079
Fixes BOT-7Q
|
| |/
|
|
| |
Fixes #1027
|
| |
|
|
| |
This reverts commit be14db91b1c70993773e67cfa663fef0cfa85666.
|
| |\
| |
| | |
Add support for plural FilterList types.
|
| |/
|
|
|
|
|
|
|
| |
This will allow mods to use '!whitelist get guild_invites'
in addition to '!whitelist get guild_invite'
This is just a naive implementation which works if the plural
form is a simple s at the end of the word. It's implemented
into the converter.
|
| |
|
|
|
|
|
| |
Previously, this would not provide any feedback at all, which is really
terrible UX. Sorry about that.
This also adds error handling in case the API call fails.
|
| | |
|
| |\
| |
| | |
FilterLists: Manage whitelisting and blacklisting via the bot
|