| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | |\
| |/
|/| |
|
| |\ \
| | |
| | | |
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
|
| | |\
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a little bit of logic to the Help Channel `init_available`
coroutine, which runs when the cog loads. This ensures that if there are
more help channels in available than there should be, we remove the
superfluos ones.
Previously, if the bot started with too many channels, it would maintain
and defend that excessive amount. This is because we never actually
count the number of channels before adding in new available channels
whenever one disappears.
If we ever get too many available channels in the future, this can be
solved by simply reloading this cog.
|
| |\ \
| | |
| | | |
Change regex so it catches new discord URL
|
| | | |
| | |
| | |
| | | |
requested by lemon
|
| | | | |
|
| | | | |
|
| |/ / |
|
| |\ \
| | |
| | | |
Fix channel moving incase `message.pin` fails
|
| |/ / |
|
| |\ \
| | |
| | | |
Don't ping everyone in #mod-alerts when tripping filter via DMs.
|