You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using telebot to write a game that, on receiving the command /game, the bot would present three buttons for the user to click.
Once the user clicks any of the buttons, I need the bot to present three buttons with different texts in them, and wait for the user to click. IE, I need to trigger the keyboard command internally within my loop. How can I do that please?
I've searched and found https://github.com/handybots/azartio, which seems to be somewhat close to what I am planning to do. I don't quite understand the code so I try to compile and run it myself, to see how it works. However, I found the following packages missing for it to be compiled successfully
github.com/handybots/store
github.com/handybots/store/anypay
github.com/handybots/store/enotio
github.com/hashicorp/hcl/hcl/printer
Any help appreciated.
The text was updated successfully, but these errors were encountered:
I'm using telebot to write a game that, on receiving the command
/game
, the bot would present three buttons for the user to click.Once the user clicks any of the buttons, I need the bot to present three buttons with different texts in them, and wait for the user to click. IE, I need to trigger the keyboard command internally within my loop. How can I do that please?
Here are the homework that I've done:
I've created from readme a starting point at
https://github.com/suntong/go_telebot_demos/blob/master/telebot/keyboard-game.go, which only covers the presenting three buttons stage. For the rest, I'm still not too sure. Moreover, there are some runtime error too.
I've searched and found https://github.com/handybots/azartio, which seems to be somewhat close to what I am planning to do. I don't quite understand the code so I try to compile and run it myself, to see how it works. However, I found the following packages missing for it to be compiled successfully
Any help appreciated.
The text was updated successfully, but these errors were encountered: