From 54cd7a4f52ec3edaef6b58e6db7e1a0a7e771dfe Mon Sep 17 00:00:00 2001 From: semblanceofsense Date: Sun, 16 Feb 2025 21:53:36 -0700 Subject: [PATCH] handled errors --- internal/bot/bot.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/bot/bot.go b/internal/bot/bot.go index 70c0ba0..88ae530 100644 --- a/internal/bot/bot.go +++ b/internal/bot/bot.go @@ -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,