diff options
| author | 2019-09-24 16:07:18 -0500 | |
|---|---|---|
| committer | 2019-09-24 16:07:18 -0500 | |
| commit | d3fbe8f538f52256b9fc446732b60084aad2721b (patch) | |
| tree | 53fe58baf3a0bd2f4f38d4ab1ea4af533c513790 /bot/cogs/moderation.py | |
| parent | Merge pull request #448 from Akarys42/ot-fix (diff) | |
Note Type Correction
- In the database, notes were being listed as "warnings" despite having a type specifically for them. Changed it so that notes are now listed as the proper type.
Signed-off-by: Daniel Brown <[email protected]>
Diffstat (limited to '')
| -rw-r--r-- | bot/cogs/moderation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/moderation.py b/bot/cogs/moderation.py index 4d651bef7..f2ff7e6b2 100644 --- a/bot/cogs/moderation.py +++ b/bot/cogs/moderation.py @@ -430,7 +430,7 @@ class Moderation(Scheduler, Cog): This does not send the user a notification """ - infraction = await post_infraction(ctx, user, type="warning", reason=reason, hidden=True) + infraction = await post_infraction(ctx, user, type="note", reason=reason, hidden=True) if infraction is None: return |