diff options
author | 2020-10-08 17:06:36 +0800 | |
---|---|---|
committer | 2020-10-08 17:06:36 +0800 | |
commit | 54a0ad23786d50956ac43518bb698f6dcc43a4ad (patch) | |
tree | 6bcc75e3136f1e865644ccd68178689d9204f687 /tests/helpers.py | |
parent | Modify `!superstar` to use `apply_infraction`. (diff) |
Resolve logic error with reason override.
The reason override for the user message should be set to the infraction
reason *if* the override is None, not if it isn't.
The parameter is also renamed to `user_reason` for better clarity.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions