Dont react when people post multiple exclamation marks
This commit is contained in:
parent
fe6639a1e0
commit
b95bec40ba
|
@ -49,6 +49,8 @@ namespace DeukBot4.MessageHandlers.CommandHandler
|
|||
|
||||
if (message.Content[0] != CommandTrigger && message.MentionedUsers.All(x => x.Id != Program.BotId))
|
||||
return;
|
||||
if (message.Content[1] == '!')
|
||||
return;
|
||||
|
||||
var req = await CommandRequest.Create(message);
|
||||
var resultCode = req.Item2;
|
||||
|
|
Loading…
Reference in New Issue