diff --git a/commands/commands.go b/commands/commands.go index bf10f7f..4d2eab3 100644 --- a/commands/commands.go +++ b/commands/commands.go @@ -31,6 +31,10 @@ func Event(dg *discordgo.Session, m *discordgo.MessageCreate) { defer func() { if r := recover(); r != nil { // Oh crap. We recovered from a panic. + util.SendFailEmbed( + dg, m.ChannelID, "Error", + "A fatal error has occurred while processing this command. This event has been reported.", + ) if val, ok := r.(error); ok { util.ReportError(dg, val) } else {