Update command manager to use the error channel
This commit is contained in:
parent
3fc81a6451
commit
3fc0d03d43
@ -100,7 +100,7 @@ func (c *CommandManager) OnMessage(session *discordgo.Session, m *discordgo.Mess
|
|||||||
User: m.Author,
|
User: m.Author,
|
||||||
Guild: guild,
|
Guild: guild,
|
||||||
Member: m.Member,
|
Member: m.Member,
|
||||||
Invoked: nil,
|
Invoked: "",
|
||||||
ErrorChannel: c.ErrorChannel,
|
ErrorChannel: c.ErrorChannel,
|
||||||
}
|
}
|
||||||
c.ErrorChannel <- CommandError{
|
c.ErrorChannel <- CommandError{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user