| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2020-08-04 | HelpChannels: create a generic function to handle pin errors | -11/+26 | ||
| This can be used for both pinning and unpinning messages. The error handling code was largely similar between them. | ||||
| 2020-08-04 | HelpChannels: don't unpin message if ID is None | -0/+3 | ||
| Fixes #1082 Fixes BOT-7G | ||||
| 2020-08-04 | HelpChannels: add more detail to unpin log messages | -3/+7 | ||
| 2020-08-04 | HelpChannels: move unpinning to separate function | -12/+16 | ||
| 2020-08-04 | Revert "Disabled burst_shared filter temporarily" | -0/+4 | ||
| This reverts commit be14db91b1c70993773e67cfa663fef0cfa85666. | ||||
| 2020-08-03 | Add support for plural FilterList types. | -5/+17 | ||
| 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. | ||||
| 2020-08-03 | Add some feedback to the _sync_data helper. | -7/+15 | ||
| 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. | ||||
| 2020-08-03 | Move function params to 4-space indentation. | -2/+17 | ||
| 2020-08-03 | Move function params to 4-space indentation. | -18/+18 | ||
| 2020-08-03 | Change some errant single quotes to doubles. | -4/+4 | ||
| 2020-08-03 | Adding a beautiful walrus to filter_lists.py. | -2/+2 | ||
| Thanks @Den4200! | ||||
| 2020-08-03 | Sort all load_extension groups alphabetically. | -5/+4 | ||
| 2020-07-31 | Remove superfluous Available help channels. | -4/+12 | ||
| 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. | ||||
| 2020-07-30 | Use full flag name for case-insensitivity | -1/+1 | ||
| requested by lemon | ||||
| 2020-07-30 | Missed `?` in regex. | -1/+1 | ||
| 2020-07-30 | Use non-capturing group instead. | -1/+1 | ||
| 2020-07-30 | Change regex so it catches new discord URL | -1/+1 | ||
| 2020-07-30 | Fix channel moving incase `message.pin` fails | -0/+2 | ||
| 2020-07-30 | Add more explicit feedback to failures. | -7/+17 | ||
| For deleting and listing data, we now get some more feedback when things fail. | ||||
| 2020-07-29 | Dynamically amend types to filterlist docstrings. | -5/+38 | ||
| 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. | ||||
| 2020-07-29 | Make sure file formats have leading dots. | -0/+8 | ||
| 2020-07-29 | Apply suggested change from @MarkKoz. | -4/+1 | ||
| 2020-07-29 | Fix broken antimalware tests. | -1/+1 | ||
| 2020-07-29 | We search for an invite instead of matching one. | -1/+1 | ||
| This means we can validate invites that start with https://, whereas before we could not. | ||||
| 2020-07-29 | word_watchlist -> filter_token in filtering.py. | -2/+2 | ||
| 2020-07-29 | Restructure bot.filter_list_cache. | -21/+20 | ||
| 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. | ||||
| 2020-07-29 | Fix a bad type annotation. | -2/+2 | ||
| 2020-07-29 | Fix imports in converters.py | -5/+6 | ||
| 2020-07-29 | Refactor filtering: use non-compiled expressions. | -10/+6 | ||
| 2020-07-29 | Make a helper for validating guild invites. | -16/+18 | ||
| 2020-07-29 | Make a helper for inserting filter lists. | -21/+16 | ||
| 2020-07-29 | Kaizen - group private methods together. | -43/+43 | ||
| 2020-07-29 | Use a defaultdict(list) for filter_list_cache. | -6/+7 | ||
| 2020-07-29 | Expect status 400 for duplicates. | -2/+2 | ||
| 2020-07-29 | Don't ping everyone when tripping filter in DMs. | -1/+1 | ||
| 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. | ||||
| 2020-07-28 | Handle message unpinning better | -2/+5 | ||
| 2020-07-28 | correct import order | -1/+1 | ||
| 2020-07-28 | fix poll command by using clean_content converter | -2/+2 | ||
| 2020-07-28 | Allow specifying a channel to send !embed embeds | -3/+7 | ||
| 2020-07-27 | Update IDs of Code Jam roles | -2/+2 | ||
| I've updated the IDs of the two Code Jam Roles to the newly create roles we have. | ||||
| 2020-07-27 | Bump flake8 version to 3.8 | -173/+191 | ||
| This is necessary to support walrus operators. | ||||
| 2020-07-27 | Rename AllowDenyList to FilterLists | -45/+45 | ||
| 2020-07-24 | Fix: Implicit string concatenation considered harmful | -4/+1 | ||
| 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' | ||||
| 2020-07-24 | More explicit dict indexing | -3/+3 | ||
| Addresses reviews from MarkKoz Co-authored-by: Mark <[email protected]> | ||||
| 2020-07-24 | Add sanity to partner and verification check in filtering.py. | -2/+2 | ||
| 2020-07-24 | No need for all() in cog_check for AllowDenyLists. | -4/+1 | ||
| 2020-07-24 | Put valid_types_list inside the conditional. | -1/+1 | ||
| 2020-07-24 | Catch ResponseCodeError in the ValidAllowDenyListType converter. | -7/+7 | ||
| 2020-07-23 | Disabled burst_shared filter temporarily | -4/+0 | ||
| 2020-07-22 | Charinfo: correct char limit used in error message | -1/+1 | ||
| Co-authored-by: Kieran Siek <[email protected]> | ||||