| Commit message (Collapse) | Author | Lines |
|
* Fix escapes in python-news posts
No longer escapes markdown inside of codeblocks or pre-escaped markdown.
Co-authored-by: Ryu18 <[email protected]>
* Add escaping to title of py-news posts
* Fix typo
Co-authored-by: Ryu18 <[email protected]>
|
|
|
|
I will copy my comment from the code, as it explains why we want this:
In the rare case where we found messages matching the spam filter across
multiple channels, it is possible that a single channel will only
contain a single message to delete. If that should be the case,
discord.py will use the "delete single message" endpoint instead of the
bulk delete endpoint, and the single message deletion endpoint will
complain if you give it that does not exist. As this means that we have
no other message to delete in this channel (and message deletes work
per-channel), we can just log an exception and carry on with business.
|
|
|
|
|
|
|
|
|
|
By adding metricity to the compose, we allow it to migrate itself, rather than needing the site to do it.
Defaulting 'USE_METRICITY' to false means that it will run migrations, but not actually start the bot. This means we don't add another service that needs to run all the time, which could impact some contribs on lower powered hardware.
|
|
Adds the channel used for voting on contributors to the message
changelog blacklist.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
The util attaches an error logging callback instead of relying on python's
exception logging which only occurs when the task is destroyed
|
|
The util attaches an error logging callback instead of relying on python's
exception logging which only occurs when the task is destroyed
|
|
After some discussion back and forth, I've adjusted how to display
the examples and code bock to be of a more REPL-style.
Additionally, a filler character for the "Center Me!" string is added to
illustrate how exactly in centers it.
This commit also adds some small styling changes.
|
|
|