feat: better error reporting settings

This commit is contained in:
spiral
2022-01-21 00:10:51 -05:00
parent f9aba1f129
commit 4a739c2d61
2 changed files with 1 additions and 4 deletions

View File

@@ -53,9 +53,6 @@ public class MessageCreated: IEventHandler<MessageCreateEvent>
// for now, only return error messages for explicit commands
public ulong? ErrorChannelFor(MessageCreateEvent evt, ulong userId)
{
if (!HasCommandPrefix(evt.Content, userId, out var cmdStart) || cmdStart == evt.Content.Length)
return null;
return evt.ChannelId;
}