Skip to content

Commit

Permalink
Fix !ts conflict with modmail snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
FloatingMilkshake committed Feb 4, 2025
1 parent f63c63c commit b21fe1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Events/ErrorEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static async Task TextCommandErrored(CommandErroredEventArgs e)
return;

// avoid conflicts with modmail
if (commandName == "edit" || commandName == "timestamp")
if (commandName == "edit" || commandName.Contains("timestamp"))
return;

e.Context.Client.Logger.LogError(CliptokEventID, e.Exception, "Exception occurred during {user}s invocation of {command}", e.Context.User.Username, commandName);
Expand Down

0 comments on commit b21fe1a

Please sign in to comment.