We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d419f33 commit af60340Copy full SHA for af60340
src/Bot/Systems/Commands/Text/Modules/Moderation/PirateBanCommand.cs
@@ -30,6 +30,12 @@ public async Task<ActionResult> PirateBanAsync(
30
if (!(sentReasonDm = await member.TrySendMessageAsync(embed: tag.Value.AsContentEmbed(Context).Build())))
31
Warn(LogSource.Module, $"encountered a 403 when trying to message {member}!");
32
}
33
+
34
+ if (sentReasonDm)
35
+ {
36
+ tag.Value.Uses++;
37
+ Db.Save(Context.GuildData);
38
+ }
39
40
41
0 commit comments