| Commit message (Collapse) | Author | Age | Lines |
| | |
|
| |
|
|
|
|
|
| |
The directory contains modules, which are extensions. It only indirectly
contains cogs through the extensions. Therefore, a technically more
accurate name is "extensions", or "exts" when abbreviated. Furthermore,
"exts" is consistent with SeasonalBot.
|
| |
|
|
|
| |
Since `pkgutil.walk_packages` imports packages it comes across, it's
best to avoid potential side effects from imports.
|
| |
|
|
|
|
| |
It's convenient for users to type less to specify the exception they
want. Only require a qualified name if an unqualified name is ambiguous
(i.e. two modules in different subpackages have identical names).
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Discover extensions recursively and ignore any modules/packages whose
names start with an underscore.
|
| | |
|
| |
|
|
|
| |
Bunch of modules still rely on importing the cog directly from the
moderation package.
|
| |
|
|
| |
This naming scheme will make them easy to distinguish from extensions.
|
| |
|
|
|
| |
The cog tests structure should mirror the structure of the cogs folder.
Fix some import/patch paths which broke due to the restructure.
|
| | |
|
| |\
| |
| | |
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.
|