Update command manager to use the error channel

This commit is contained in:
Dustin Pianalto 2020-05-04 13:39:54 -08:00
parent 3fc81a6451
commit 3fc0d03d43

View File

@ -100,7 +100,7 @@ func (c *CommandManager) OnMessage(session *discordgo.Session, m *discordgo.Mess
User: m.Author,
Guild: guild,
Member: m.Member,
Invoked: nil,
Invoked: "",
ErrorChannel: c.ErrorChannel,
}
c.ErrorChannel <- CommandError{