COde updates

This commit is contained in:
Astra 2026-02-16 17:40:56 +00:00
parent 432ee62807
commit 03c5ec07c1
4 changed files with 125 additions and 3 deletions

View file

@ -91,7 +91,7 @@ func (bot *Bot) handleApproveRequest(query *api.CallbackQuery, user *ExtendedCha
userString, user.From.ID, user.JoinReason, adminUserString,
time.Now().Format("2006-01-02 15:04:05")))
if bot.Config.ApprovalMessage != "" {
if bot.Config.SendApprovalMessage {
utils.SendMessage(bot.API, user.From.ID, 0, bot.Config.ApprovalMessage)
}