COde updates
This commit is contained in:
parent
432ee62807
commit
03c5ec07c1
4 changed files with 125 additions and 3 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue