| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It now explains that new users can only see a limited amount of public
channels, and that there will be more once they verify.
Co-authored-by: Sebastiaan Zeeff <[email protected]>
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We will begin pinging users in the verification channel, prompting
them to join. This can cause a surge of activity that may trigger
the filter.
A better solution would involve allowing per-filter channel config,
but after internal discussion this is seen as unnecessary for now.
|
| | | | | |
|
| | | | |\
| |_|_|/
|/| | |
| | | |
| | | | |
This adds the RedisCache #1090 fix, allowing us to use the cache
to hold the ping task on start-up.
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| |
| |
| | |
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
|
| | |\ \
| |/ /
|/| | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | | |
Thanks @Den4200!
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
For deleting and listing data, we now get some more feedback when things
fail.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We want the !help invocations to give you all the information you need
in order to use the command. That also means we need to provide the
valid filterlist types, which are subject to change.
So, we fetch the valid ones from the API and then dynamically insert
them into the docstrings.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
This means we can validate invites that start with https://, whereas
before we could not.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is an optimization designed to eliminate all the list
comprehensions we were doing inside antimalware and filtering. The cache
is now structured so that the content is the key and the metadata is the
value.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | | |
This is necessary to support walrus operators.
|
| | | | |
|