| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2019-09-13 | Fix one-off error in the !clean command | -1/+2 | ||
| https://github.com/python-discord/bot/issues/413 The message indexing phase of the `!clean` did not account for the presence of the invocation message, resulting in a one-off error in the amount of messages being indexed. Fixed it by adding one to the amount of messages we index from the message history. Closes #413 | ||||
| 2019-09-13 | Fix bugs and inconsistencies in moderation cog | -154/+149 | ||
| Recent changes and updates to the moderation cog introduced some inconsistencies that were causing bugs or differences in behavior between very similar commands. I've remedied the problems by: - Consistently making sure we stop if a post_infraction API call fails; - Factoring out the check for active infractions to a utility function; - Updating commands that expected a pre-migration API response format. In addition, I've also added function annotations. | ||||
| 2019-09-12 | Update bot cog with recent changes. | -2/+4 | ||
| The bot cog was not updated with recent changes to our community, so I've: - Updated the links in the about embed to GitHub; - Added help-6 and help-7 to the codeblock detection. | ||||
| 2019-09-12 | Add help-6 and help-7 to constants | -0/+4 | ||
| We never added channel IDs for the new help channels to the constants after adding them, so I'm adding them in. | ||||
| 2019-09-12 | Fix AntiSpam incorrectly invoking tempmute. | -2/+5 | ||
| https://github.com/python-discord/bot/issues/400 The AntiSpam punish method incorrectly invoked the tempmute command, as it provided an unconverted duration argument. Since direct invocation of commands bypasses converters, the conversion of the duration string to a datetime object is now done manually. Closes #400 | ||||
| 2019-09-12 | Fixed incorrect API request field in superstarify | -1/+1 | ||
| https://github.com/python-discord/bot/issues/409 The superstarify cog specified an incorrect infraction type in the API request in the on_member_join event listener. I've fixed it by giving it the correct infraction type, 'superstar'. closes #409 | ||||
| 2019-09-12 | Fixed AntiSpam cog reload bug | -6/+3 | ||
| https://github.com/python-discord/bot/issues/411 The AntiSpam code suffered from a bug where the attribute self.muted_role was not defined after reloading the cog. The bug was caused by the cog setting the attribute in on_ready instead of directly in __init__. Fixed by setting the attribute in the __init__. Closes #411 | ||||
| 2019-09-03 | Remove pydocstyle pinning now that flake8-docstrings is fixed | -145/+146 | ||
| 2019-09-03 | Use pipenv lint script for pre-commit hook | -10/+8 | ||
| 2019-09-03 | Update contrib doc for allowing edits from maintainers | -0/+3 | ||
| 2019-08-26 | Do not send log messages below DEBUG to the site. | -6/+14 | ||
| 2019-08-23 | Changing deleted messages log to point at staff-subdomain | -1/+2 | ||
| 2019-08-23 | Changing logging interpolation style to f-strings | -4/+3 | ||
| 2019-08-16 | Incorporating Mark's feedback on return annotations | -11/+15 | ||
| 2019-08-16 | Kaizen: Change all string concats to f-strings | -7/+7 | ||
| 2019-08-16 | Adding missing function annotations | -14/+14 | ||
| 2019-08-15 | Updating role sync tests for position and adding tests for deletion detection | -21/+60 | ||
| 2019-08-15 | Adding support for storing role positions and deleting roles | -27/+51 | ||
| 2019-08-14 | Add a site logging handler. | -2/+80 | ||
| 2019-08-14 | Remove fun cog | -54/+0 | ||
| 2019-08-05 | Blame Mark. | -1/+1 | ||
| 2019-08-05 | Be more helpful. | -0/+1 | ||
| 2019-08-05 | Fix typo in bot/cogs/error_handler.py. | -1/+1 | ||
| Originally authored by @MarkKoz. Co-Authored-By: Mark <[email protected]> | ||||
| 2019-08-05 | Suppress response code errors on tag reinvoke. | -1/+3 | ||
| 2019-08-05 | Finalize error handling. | -12/+15 | ||
| 2019-08-05 | Update code to make use of the new `ResponseCodeError`. | -18/+22 | ||
| 2019-08-04 | Raise specific exception for non-200s. | -9/+21 | ||
| 2019-07-28 | Handle more API status codes. | -1/+5 | ||
| 2019-07-28 | Move error handling to more descriptive `ErrorHandler` cog. | -18/+14 | ||
| 2019-07-28 | Drop user updating from `events` cog. | -203/+0 | ||
| 2019-07-28 | Revert 4d35f8f7137edb97e1124fa9087bd86399398047. | -0/+286 | ||
| 2019-07-16 | Remove unused import | -1/+0 | ||
| 2019-07-06 | moving over the communities to whitelist from master. | -0/+7 | ||
| 2019-07-06 | Whitelisting the kivy discord server from our filters | -0/+1 | ||
| 2019-07-05 | Apply suggestions from code review | -2/+2 | ||
| Co-Authored-By: Mark <[email protected]> | ||||
| 2019-07-04 | Changing class-level docstring of TalentPool class to be consistent with the ↵ | -1/+1 | ||
| BigBrother class | ||||
| 2019-07-04 | Adding correct docstring to TalentPool edit group method; adding periods to ↵ | -5/+5 | ||
| docstrings in the WatchChannel ABC | ||||
| 2019-07-04 | Applying docstring suggestions | -8/+8 | ||
| Co-Authored-By: Mark <[email protected]> | ||||
| 2019-07-04 | Replacing BigBrother by TalentPool in TalentPool docstrings | -4/+4 | ||
| 2019-07-04 | Removing unused import | -1/+1 | ||
| 2019-07-04 | Fixing bug with misnamed MessageHistory attribute message_count in if-statement | -1/+1 | ||
| 2019-07-04 | Removing the iter/unpacking support on dataclass in favour of multiline if | -5/+5 | ||
| 2019-07-03 | Removing redundant self.__class__.__name__ occurrences | -4/+4 | ||
| Co-Authored-By: Mark <[email protected]> | ||||
| 2019-07-03 | Update bot/cogs/watchchannels/watchchannel.py | -1/+1 | ||
| Co-Authored-By: Mark <[email protected]> | ||||
| 2019-07-03 | Removing last embed responses and unused imports | -11/+3 | ||
| 2019-07-03 | Change end nomination API endpoint to PATCH endpoint | -4/+3 | ||
| 2019-07-03 | Applied the following changes requested by reviews: | -91/+50 | ||
| - Bot responses are now plain messages instead of embeds; - The message history in the WatchChannel cog is now stored using a new dataclass, MessageHistory; - Removed the truncation option from the modified name field in logging; - bigbrother now provides user feedback when watching fails due to failing cache update; - Changed the lay-out of the mod_log alert and set ping_everyone to True; - Changed the function signature of `post_infraction` utility function to the one-parameter-per-line style; - Moved the declaration of File within bot/utils/messages.py to before the if/else to make things DRY. | ||||
| 2019-07-01 | Apply docstring and logging message suggestions | -2/+2 | ||
| Co-Authored-By: Mark <[email protected]> | ||||
| 2019-06-29 | Applying changes requested in the reviews. | -109/+99 | ||
| Somewhat major changes include: - Reworked the start_watchchannel retry logic; - Updated docstrings; - Removed/changed Tetris-style argument lists to one-per-line or all on one line. | ||||
| 2019-06-29 | Making sure a watch/unwatch reason is required when using the alias as well | -12/+4 | ||