Saving usernames #2
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
backmeupplz/banofbot#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For some reason banofbot save usernames, so if I have used this bot and then change my username, bot will display my old username (even in new "polls").
Telegram bot api provides
getChatMembermethod (with 2 args:chat idanduser id), so I think the best way to solve that bug is save user ids when button is pressed and when final vote received, usegetChatMembermethod for all user ids to get current usernames.Good idea, thanks!
Done :)