| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2020-07-21 | Use user mentions in infraction search results | -14/+21 | ||
| Using our expanded API is more efficient than making a request to the Discord API for potentially every user in the search results. The data may not be up to date, but that's an acceptable compromise. | ||||
| 2020-07-21 | ModLog: use user mentions | -22/+12 | ||
| 2020-07-21 | Filtering: use user mentions in mod logs | -6/+5 | ||
| 2020-07-21 | Filtering: refactor _add_stats to return a NamedTuple | -25/+27 | ||
| 2020-07-21 | Filtering: refactor sending of mod log | -59/+47 | ||
| A lot of redundant code existed between the message and eval filters. | ||||
| 2020-07-21 | Use user mentions in mod logs | -10/+14 | ||
| 2020-07-21 | Moderation: use user mentions in mod logs | -18/+14 | ||
| 2020-07-21 | Moderation: remove multiple active infractions check | -36/+0 | ||
| The API was change a long time ago to not allow such a situation. | ||||
| 2020-07-21 | Superstarify: escape Markdown in nicknames | -1/+4 | ||
| 2020-07-21 | Superstarify: use user mentions in mod logs | -3/+4 | ||
| `format_user` isn't used in the apply mod log cause it already shows both the old and new nicknames elsewhere. | ||||
| 2020-07-21 | Add util function to format user names | -0/+7 | ||
| This will be used a lot when sending mod logs and will help with reducing redundancy and maintaining consistency. | ||||
| 2020-07-21 | Clean up imports | -14/+13 | ||
| 2020-07-21 | Use max_units for time since join in user command instead of precision | -1/+1 | ||
| 2020-07-20 | Edited tests to reflect changes (removed py formatting) | -3/+3 | ||
| 2020-07-20 | Removed python formatting from returned codeblock | -1/+1 | ||
| 2020-07-19 | Revert "Remove duplicate reminder deletion." | -1/+1 | ||
| This reverts commit 776b4379c478284803a4a526b5f14fe63d8e7c01. This is already being fixed in #835, and therefore is no longer required. | ||||
| 2020-07-19 | Remove duplicate mentions from reminder arguments | -2/+10 | ||
| This also accounts for the author passing themselves to mention, and therefore avoids the user from being told they're not allowed to mention themselves even though they could. | ||||
| 2020-07-19 | Refactor commands return type | -5/+8 | ||
| 2020-07-19 | Move mentions validation to another method | -13/+20 | ||
| 2020-07-19 | Refactor reminder edits to reduce code duplication | -40/+25 | ||
| The reminder expiration returnedfrom the API call is also now parsed again even when the edit is to the duration since it does not matter and trying to keep it DRY while still doing that check is a pain. | ||||
| 2020-07-19 | Rename method to improve readability | -3/+3 | ||
| 2020-07-19 | Fix incorrect typehint and shorten method name | -3/+3 | ||
| 2020-07-19 | Extract `send_denial` to a utility function | -17/+20 | ||
| 2020-07-19 | Namespace Member and Role to avoid extra imports | -3/+2 | ||
| 2020-07-19 | Add whitespace to improve readability | -0/+1 | ||
| Co-authored-by: Mark <[email protected]> | ||||
| 2020-07-16 | Incidents: reduce log level of 403 exception | -2/+3 | ||
| In addition to 404, this shouldn't send Sentry notifs. Co-authored-by: MarkKoz <[email protected]> | ||||
| 2020-07-16 | Bugfix: Show ID for embed DM relays, too. | -1/+1 | ||
| 2020-07-16 | Incidents: reduce log level of 404 exception | -2/+14 | ||
| Co-authored-by: MarkKoz <[email protected]> | ||||
| 2020-07-16 | Prevent deleting messages above the desired message. | -6/+7 | ||
| 2020-07-16 | Allow editing additional mentions for reminders. | -0/+28 | ||
| 2020-07-16 | List additional mentions in `!reminder list`. | -3/+9 | ||
| 2020-07-16 | Send additional mentions in reminders. | -1/+5 | ||
| 2020-07-16 | Allow mentioning other users and roles in reminders. | -6/+26 | ||
| 2020-07-16 | Add generator that converts IDs to Role or Member objects. | -0/+7 | ||
| 2020-07-16 | Add method to check if user is allowed to mention in reminders. | -1/+21 | ||
| 2020-07-16 | Extract sending error embed to a separate method. | -13/+12 | ||
| 2020-07-16 | Remove duplicate reminder deletion. | -1/+1 | ||
| The function `_delete_reminder` was called twice, once in `schedule_reminder`, which calls `send_reminder`, then another in `send_reminder` itself. This led to a 404 response from the site api, as the reminder was already deleted the first time. Fixes BOT-6W | ||||
| 2020-07-15 | Fix docstring and comments | -13/+7 | ||
| 2020-07-15 | Added command&system to purge all messages up to given message | -1/+39 | ||
| 2020-07-15 | Oops, these prints shouldn't be here. | -3/+0 | ||
| https://github.com/python-discord/bot/issues/1041 | ||||
| 2020-07-15 | How did that except except block get in? | -3/+0 | ||
| Weird. https://github.com/python-discord/bot/issues/1041 | ||||
| 2020-07-15 | Create a UserMentionOrID converter. | -1/+24 | ||
| When we're using the !reply command, using a regular UserConverter is somewhat problematic. For example, if I wanted to send the message "lemon loves you", then I'd try to write `!reply lemon loves you` - however, the optional User converter would then try to convert `lemon` into a User, which it would successfully do since there's like 60 lemons on our server. As a result, the message "loves you" would be sent to a user called lemon.. god knows which one. To solve this bit of ambiguity, I introduce a new converter which only converts user mentions or user IDs into User, not strings that may be intended as part of the message you are sending. https://github.com/python-discord/bot/issues/1041 | ||||
| 2020-07-15 | Ves' refactor | -15/+16 | ||
| Co-authored-by: Sebastiaan Zeeff <[email protected]> | ||||
| 2020-07-15 | Add some stats for DMs sent and received. | -0/+3 | ||
| https://github.com/python-discord/bot/issues/1041 | ||||
| 2020-07-15 | Add the user ID to the username in dm relays. | -1/+1 | ||
| Without this, it is difficult to know precisely who the user that is DMing us is, which might be useful to us. https://github.com/python-discord/bot/issues/1041 | ||||
| 2020-07-15 | Restore DM user caching. | -6/+22 | ||
| This reverts commit 042f472a | ||||
| 2020-07-15 | Pass processed string to `extractBests` | -2/+2 | ||
| Fixes a regression where the string to be matched was not processed beforehand. | ||||
| 2020-07-15 | Document new kwarg in docstring | -0/+2 | ||
| 2020-07-14 | HelpChannels: remove cooldown info from available message | -3/+0 | ||
| Users can no longer see available channels if they're on cooldown. They will instead see a special "cooldown" channel which will explain what's going on. | ||||
| 2020-07-14 | Suppress NotFound when removing help cmd reactions | -7/+6 | ||
| The message may be deleted somehow before the wait_for times out. Fixes #1050 Fixes BOT-6X | ||||