Update command manager to use the error channel

master
DustyP 6 years ago
parent 3fc81a6451
commit 3fc0d03d43

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

Loading…
Cancel
Save