diff --git a/internal/bot/handlers.go b/internal/bot/handlers.go index a1eb5cb..b953853 100644 --- a/internal/bot/handlers.go +++ b/internal/bot/handlers.go @@ -122,6 +122,8 @@ func (b *Bot) err(evt *event.Event, err error) { default: if errors.Is(err, context.DeadlineExceeded) { b.markdownResponse(evt, true, timeoutMsg) + } else { + b.reactionResponse(evt, "❌") } } } diff --git a/internal/bot/strings.go b/internal/bot/strings.go index 1cc1947..27ed0f0 100644 --- a/internal/bot/strings.go +++ b/internal/bot/strings.go @@ -9,7 +9,8 @@ const ( **Notes** - You can use the first letter of a command as an alias. For example, "!i" for "!image". - If you wish to terminate the current processing, simply delete your message from the chat. +- The bot responds with ❌ reaction if there are any errors. Contact the administrator if you see this. ` timeoutMsg = "Timeout error. Please try again. If issue persists, contact the administrator." - unknownCommandMsg = "Unknown command. Please use the `!help` command to access the available commands" + unknownCommandMsg = "Unknown command. Please use the `!help` command to access the available commands." )