1
0
mirror of https://gitlab.com/Deukhoofd/DeukBot4.git synced 2025-09-03 08:07:19 +00:00

Dont react when people post multiple exclamation marks

This commit is contained in:
Deukhoofd 2018-07-30 21:46:57 +02:00
parent fe6639a1e0
commit b95bec40ba
No known key found for this signature in database
GPG Key ID: B4C087AC81641654

View File

@ -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;