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