diff options
author | 2021-09-08 09:48:22 +0100 | |
---|---|---|
committer | 2021-09-08 08:48:22 +0000 | |
commit | 160f0ecb125fe317abc644100e58ab9557ea7faa (patch) | |
tree | 8e4ce201b2a2ce2799dac1079a583af80bbd4754 /tests/helpers.py | |
parent | Merge pull request #1814 from python-discord/Expand-fitlers-to-.gg- (diff) |
Add support for `!infraction last` (#1804)
* Add support for `!infraction last`
`!infraction last` will view details of the last infraction the user made. Also changes the `Infraction` converter to use the `expanded` endpoint
1) Added `InvalidInfraction` to `bot.errors` - called when value passed to `Infraction` converter is invalid
2) Improved error messages for when an invalid infraction is passed to `!infraction {infr_id}`
3) Improved some other messages/docstrings etc.
Co-authored-by: Xithrius <[email protected]>
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions