Skip to content

Commit

Permalink
Try search unknown not banned users.
Browse files Browse the repository at this point in the history
  • Loading branch information
kak-tus committed Nov 2, 2023
1 parent 72cf15c commit 8a98c8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions telegram/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ func (hdl *InstanceObj) process(ctx context.Context, msg tgbotapi.Update) error
}

func (hdl *InstanceObj) processMsg(ctx context.Context, msg *tgbotapi.Message) error {
hdl.log.Debug().Interface("msg", msg).Msg("got message")

textWithBotName := strings.ReplaceAll(usageText, botNameTemplate, hdl.cnf.BotName)

if msg.Chat.IsPrivate() {
Expand Down

0 comments on commit 8a98c8a

Please sign in to comment.