Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
akurilov committed Nov 16, 2023
1 parent a252fd9 commit 67500f4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,12 +380,7 @@ func main() {
err = b.Pin(msg)
}
log.Warn(fmt.Sprintf("Failed to forward or pin the donation invoice in the chat %+v, cause: %s", chat, err))
switch tgCtx.Sender().ID {
case 362697048:
err = tgCtx.Send("Main menu reply keyboard", service.MakeMainMenu())
default:
err = tgCtx.Send("Main menu reply keyboard", menuKbd)
}
err = tgCtx.Send("Main menu reply keyboard", menuKbd)
default:
err = fmt.Errorf("unsupported chat type (supported options: \"private\", \"group\", \"supergroup\"): %s", chat.Type)
}
Expand Down

0 comments on commit 67500f4

Please sign in to comment.