Skip to content

Commit b21fe1a

Browse files
Fix !ts conflict with modmail snippet
1 parent f63c63c commit b21fe1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Events/ErrorEvents.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static async Task TextCommandErrored(CommandErroredEventArgs e)
3434
return;
3535

3636
// avoid conflicts with modmail
37-
if (commandName == "edit" || commandName == "timestamp")
37+
if (commandName == "edit" || commandName.Contains("timestamp"))
3838
return;
3939

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

0 commit comments

Comments
 (0)