Skip to content

Commit

Permalink
Merge branch 'main' into v6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbooth committed Aug 5, 2023
2 parents e786518 + 911f407 commit 51948b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Hammer/Commands/Infractions/InfractionCommand.Edit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public async Task EditAsync(InteractionContext context,
if (newRuleId is not null)
{
i.RuleId = newRuleId;
i.RuleText = rule!.Brief ?? rule.Description;
embed.AddField("New Rule Broken", $"{rule!.Id} - {rule.Brief ?? rule.Description}");
}
Expand Down

0 comments on commit 51948b2

Please sign in to comment.