| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2020-06-18 | Source: Exclude `tag` from error message when tags cog not loaded | -2/+5 | ||
| 2020-06-18 | Source: Split handling tag and other source items file location | -1/+6 | ||
| 2020-06-18 | Source: Simplify missing tag cog handling | -8/+1 | ||
| 2020-06-01 | Source: Refactor Tags cog missing handling | -20/+16 | ||
| 2020-06-01 | Source: Remove showing aliases for commands | -2/+1 | ||
| 2020-06-01 | Source: Update `get_source_link` docstring | -1/+1 | ||
| 2020-06-01 | Source: Move calling `get_source_link` to `build_embed` | -10/+14 | ||
| 2020-06-01 | Source: Simplify tags name and location parsing | -9/+15 | ||
| 2020-06-01 | Tags: Add tag file location storage to cache | -0/+1 | ||
| 2020-05-31 | Source: Include tag into converter's `BadArgument` raising | -1/+1 | ||
| 2020-05-31 | Source: Show aliases on title of command source embed | -1/+2 | ||
| 2020-05-31 | Source: Simplify imports | -12/+12 | ||
| 2020-05-31 | Source: In converter move cog checking before command | -4/+4 | ||
| 2020-05-31 | Source: Add command and cog prefixes to title of embed | -2/+2 | ||
| 2020-05-31 | Source: Few text fixes, made help command detection better | -3/+3 | ||
| 2020-05-31 | Source: Add thumbnail to source command bot repo embed | -0/+1 | ||
| 2020-05-31 | Source: Show only first line of every source item docstring instead full | -5/+4 | ||
| 2020-05-31 | Source: Implement file and line showing in source embed footer | -7/+10 | ||
| 2020-05-31 | Source: Move big unions to variable of type | -3/+5 | ||
| 2020-05-31 | Source: Migrate from os.path to Path | -4/+6 | ||
| 2020-05-31 | Source: Implement tags file showing to source command | -16/+27 | ||
| 2020-05-31 | Source: Direct aliases to their original commands | -7/+17 | ||
| 2020-05-31 | Source: Remove checks running from source command | -5/+2 | ||
| 2020-05-31 | Source: Fix docstrings | -4/+4 | ||
| Co-authored-by: Mark <[email protected]> | ||||
| 2020-05-30 | Oops, add the return back. | -0/+1 | ||
| We do not wanna process bot messages. | ||||
| 2020-05-30 | Free tag: link #how-to-get-help | -2/+2 | ||
| This creates a clickable link in the response embed. Referencing the category is no longer necessary. | ||||
| 2020-05-30 | Scheduler: Move space from f-string of `ctx.send` to `infr_message` | -2/+2 | ||
| 2020-05-30 | Scheduler: Remove line splitting from `ctx.send` after 7f827ab | -4/+1 | ||
| 2020-05-30 | Infr. Tests: Add `apply_infraction` awaiting assertion with args | -0/+6 | ||
| 2020-05-30 | Scheduler: Fix spaces for modlog text | -1/+1 | ||
| Co-authored-by: Mark <[email protected]> | ||||
| 2020-05-30 | Scheduler: Remove unnecessary `f` before string | -1/+1 | ||
| 2020-05-30 | Scheduler: Add try-except to infraction deletion | -1/+6 | ||
| 2020-05-30 | Scheduler: Remove invalid comment | -1/+0 | ||
| 2020-05-30 | Scheduler: Move inline f-string if-else statement to normal if statement | -1/+4 | ||
| 2020-05-30 | Simplify infraction reason truncation tests | -13/+7 | ||
| 2020-05-30 | Tags: explicitly use UTF-8 to read files | -1/+1 | ||
| Not all operating systems use UTF-8 as the default encoding. For systems that don't, reading tag files with Unicode would cause an unhandled exception. (cherry picked from commit adc75ff9bbcf8b905bd78c78f253522ae5e42fc3) | ||||
| 2020-05-30 | Removing the periodic ping from verification. | -43/+1 | ||
| It's no longer needed, and causes problems with anti-raid and anti-spam. | ||||
| 2020-05-29 | Reduce the number of help channel name changes | -29/+3 | ||
| Discord has introduced a new, strict rate limit for individual channel edits that reduces the number of allow channel name/channel topic changes to 2 per 10 minutes per channel. Unfortunately, our help channel system frequently goes over that rate limit as it edits the name and topic of a channel on all three "move" actions we have: to available, to occupied, and to dormant. In addition, our "unanswered" feature adds another channel name change on top of the move-related edits. That's why I've removed the topic/emoji changing features from the help channel system. This means we now have a generic topic that fits all three categories and no status emojis in the channel names. | ||||
| 2020-05-29 | Fix `check_for_answer` breaking on missing cache | -2/+5 | ||
| The `check_for_answer` method of the HelpChannels cog relies on the channel->claimant cache being available. However, as this cache is (currently) lost during bot restarts, this method may fail with a KeyError exception. I've used `dict.get` with an `if not claimant: return` to circumvent this issue. | ||||
| 2020-05-29 | Ignore response when posting python news | -0/+1 | ||
| Sometimes a mailing list user doesn't press respond correctly to the email, and so a response is sent as a separate thread. To keep only new threads in the channel, we need to ignore those. | ||||
| 2020-05-28 | Move the `self.redis_closed` into session create. | -1/+1 | ||
| 2020-05-28 | Prevent a state where a coro could wait forever. | -2/+6 | ||
| This addresses a review comment by @aeros. | ||||
| 2020-05-28 | Add custom exceptions for each error state. | -8/+21 | ||
| The bot can get into trouble in three distinct ways: - It has no Bot instance - It has no namespace - It has no parent instance. These happen only if you're using it wrong. To make the test more precise, and to add a little bit more readability (RuntimeError could be anything!), we'll introduce some custom exceptions for these three states. This addresses a review comment by @aeros. | ||||
| 2020-05-28 | Make prefix consts private and more precise. | -9/+9 | ||
| 2020-05-28 | Reduce complexity on some of the typestring stuff. | -31/+9 | ||
| - Refactor error messages in _to_typestring and _from_typestring to just print the prefix tuples instead of that custom error string. - Create a RedisKeyOrValue type to simplify some annotations. - Simplify partialmethod calls. - Make the signatures for _to_typestring and _from_typestring one-liners - Fix a typo in the errors. | ||||
| 2020-05-27 | Fix ATROCIOUS comment. | -3/+5 | ||
| I should be shot. | ||||
| 2020-05-27 | Refactor typestring converters to partialmethods. | -30/+24 | ||
| We're using functools.partialmethod to make the code a little cleaner and more readable here. Read more about them here: https://docs.python.org/3/library/functools.html#functools.partial https://docs.python.org/3/library/functools.html#functools.partialmethod | ||||
| 2020-05-27 | Floats are no longer permitted as RedisCache keys. | -43/+86 | ||
| Also added a test for this. This is the DRYest approach I could find. It's a little ugly, but I think it's probably good enough. | ||||
| 2020-05-27 | Add some tests for `in_whitelist_check`. | -0/+48 | ||
| 2020-05-27 | Remove the now deprecated in_channel_check. | -16/+0 | ||
| This check was no longer being used anywhere, having been replaced by in_whitelist_check. | ||||