handled errors
This commit is contained in:
parent
6cea2789ef
commit
54cd7a4f52
@ -106,6 +106,7 @@ func Run(BotToken string) {
|
||||
responseData = err.Error()
|
||||
}
|
||||
}
|
||||
}
|
||||
if responseData != "" {
|
||||
err = s.InteractionRespond(
|
||||
i.Interaction,
|
||||
@ -119,7 +120,7 @@ func Run(BotToken string) {
|
||||
)
|
||||
}
|
||||
}
|
||||
}})
|
||||
})
|
||||
|
||||
discord.AddHandler(func (
|
||||
s *discordgo.Session,
|
||||
|
Loading…
Reference in New Issue
Block a user