| Commit message (Collapse) | Author | Lines |
|
|
|
|
|
|
|
Co-authored-by: Xithrius <[email protected]>
|
|
Doing this similar to how the docs command works for shortening
|
|
|
|
... is used everywhere else across the codebase where extwrap.shorten is used, so I'm making it match here.
|
|
|
|
* Added suppress for notfound error
* Update clean.py
|
|
We are planning to change metricity endpoints on site so that activcity_blocks are not returned if the user has more than 1000 messages. This is because the query to calculate those blocks can get expensive at a high message count.
To deal with this, both places activity_blocks are used has been changed to reflect this planned behaviour.
|
|
Place logging to file behind an environment variable, and remove special
considerations made for it.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
These new lines made the output embed look far to spaced out.
|
|
This change disables the mod-log for any changes to threads in channels that mods don't have read perms to.
Co-authored-by: Kieran Siek <[email protected]>
|
|
|
|
Reverse order of off-topic channels from ot0, ot1, ot2 to ot2, ot1, ot0
|
|
This prevents spam in dev-contrib and dev-core from people trying to
find which Discord feature flags are enabled for Python Discord. It's
not ideal that we have to increase output size in #bot-commands but it
prevents spam in #dev-contrib.
|
|
|
|
Put the literal converter before the Member converter so that "me"/"m" isn't attempted to be converted to a Member.
|
|
Embed for `!infractions by` no longer has the author in codeblock.
|
|
Co-authored-by: Xithrius <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(#1937)
|
|
* Don't Exit Token Filtering Early On URLs
The token filtering function would exit early if it detected a URL
within the message, but it made no extra checks to ensure there weren't
other tokens within that message that would trigger it. This made
sense when the filtering logic was written, but it's been modified since
to introduce this bug.
Regression tests included.
Signed-off-by: Hassan Abouelela <[email protected]>
* Links Advisory In Token Filter Tests
Adds a link to the advisory with reasoning for the existence of the
test.
Signed-off-by: Hassan Abouelela <[email protected]>
|