From 099191529cfdf4670d6ef2eb6b6042127b534151 Mon Sep 17 00:00:00 2001 From: Astra Date: Mon, 9 Mar 2026 21:49:49 +0000 Subject: [PATCH] Update callbacks.goi --- handlers/callbacks.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/handlers/callbacks.go b/handlers/callbacks.go index 59afc85..feb7f56 100644 --- a/handlers/callbacks.go +++ b/handlers/callbacks.go @@ -232,8 +232,7 @@ func (bot *Bot) sendCannedResponse(query *api.CallbackQuery, user *ExtendedChatJ } reason := utils.EscapeHTML(bot.Config.CannedDeclineResponses[respIdx]) - utils.SendMessage(bot.API, user.From.ID, 0, - fmt.Sprintf("Your join request was declined for the following reason:\n\n%s", reason)) + utils.SendMessage(bot.API, user.From.ID, 0, reason) // Extract user info from original message and reformat with the canned response userID, username, joinReason, declinedBy, declinedAt := utils.GetInfoFromMsg(query.Message.Text)