grim/wasdead

Parents 1a9b917bc9ce
Children bd544eeb5b11
Don't output errors directly to the channel, commands should be handling that themselves
--- a/discord/messages.go Sat Sep 26 04:15:31 2020 -0500
+++ b/discord/messages.go Sat Sep 26 04:20:34 2020 -0500
@@ -43,7 +43,5 @@
err = c.processCommand(args, m)
if err != nil {
log.Warnf("error processing %#v: %v", m.Content, err)
-
- c.sendChannel(m.ChannelID, err.Error())
}
}