mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-14 08:02:17 +00:00
Change panic message to be funnier
This commit is contained in:
parent
2348380814
commit
fbb0b61556
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ func (a *App) handler(session *discordgo.Session, message *discordgo.MessageCrea
|
||||||
defer func() {
|
defer func() {
|
||||||
if r := recover(); r != nil {
|
if r := recover(); r != nil {
|
||||||
printError(a, h, Error{
|
printError(a, h, Error{
|
||||||
Msg: "panic!",
|
Msg: "But the bot simply refused",
|
||||||
Err: fmt.Errorf("%v", r),
|
Err: fmt.Errorf("%v", r),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue