| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
| |
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
|
| | |
|
| | |
|
| |
|
|
| |
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.
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
We don't need a ping in #mod-alerts whenever someone is tripping a
filter (like invites or bad language) in a DM to the bot. We can still
send an embed, so that we can action it, but there is no urgent need to
respond if it's just a direct message to the bot.
This is particularly true now that we have #dm-log.
|
| |\ \
| | |
| | | |
Help System: Implement question message pinning
|
| | |\ \
| |/ /
|/| | |
|
| |\ \ \ |
|
| | | | | |
|
| |/ / / |
|
| | | | |
|
| | | |
| | |
| | |
| | | |
I've updated the IDs of the two Code Jam Roles to the
newly create roles we have.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Python joins two string adjacent string literals implicitly, which may
cause unintended side effects when used with certain string methods.
>>> 'A' ' '.join(['1', '2', '3'])
'1A 2A 3'
|
| |\ \ \
| | | |
| | | | |
Check that embed desc is not Empty before stripping.
|
| | |\ \ \
| |/ / /
|/| | | |
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | | |
Truncate charinfo results
|
| | |\ \ \ \
| |/ / / /
|/| | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Support multiple categories for code jam team creation
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
It's clearer to write MAX_CHANNELS - 2 than a literal 48.
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The test has to account for not only the name not matching, but also
a lack of available spaces for new channels.
|
| | | | | | | |
|
| |/ / / / / |
|
| | | | | |
| | | | |
| | | | | |
Co-authored-by: Kieran Siek <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Pagination means more characters can be supported without cluttering
anything. It also means infinite lines, so there's no longer a need to
squeeze out the most from a single page. Reducing the line limit leads
to a smaller, tidier presentation.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since the raw field is displayed on every page, but pages are
incomplete, it may be unclear whether the field's value is for the
current page or for all pages.
Co-authored-by: Kieran Siek <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Pagination ensures the results will never go over the char limit for
an embed.
Fixes #897
Fixes BOT-3D
|
| | | | | | |
|
| | |/ / /
|/| | | |
|
| |\ \ \ \
| |/ / /
|/| | | |
Code Jams unit tests
|
| | |\ \ \
| |/ / /
|/| | | |
|