Change panic message to be funnier

This commit is contained in:
Michał Gdula 2025-05-08 18:46:14 +01:00
parent 2348380814
commit fbb0b61556

View file

@ -88,7 +88,7 @@ func (a *App) handler(session *discordgo.Session, message *discordgo.MessageCrea
defer func() {
if r := recover(); r != nil {
printError(a, h, Error{
Msg: "panic!",
Msg: "But the bot simply refused",
Err: fmt.Errorf("%v", r),
})
}