Telegram Bot sends random Point of Interrests (POIs) to a group chat. Intended to play a game of "Battle Royal".
/start
- See all commands/help
- See all commands and description/config map-level
- Set the map level (1-5; 1 is the biggest)/config
- Get the map level/poi
- Send a random Point of Interest for the current map level/deletepoi
- Opens a dialog to delete a Point of Interest/respawn
- Send a random Point of Interest to respawn at/score
- Send the score table/timer name minutes command
- Creates a timer with a name and for a certain number of minutes and run commands (map
orconfig
)/timer name minutes
- Creates a timer with a name and for a certain number of minutes/timer name
- Gets the remaining time of the timer/timer
- Gets the remaining time of all timers/addpoints player points
- Add points to a player for the score table/addpoints player
- Add 1 point to a player for the score table/removepoints player points
- Remove points from a player for the score table/removepoints player
- Remove 1 point from a player for the score table/deletescore playername
- Remove Player from Score Table/map
- Send the current map/permissions level
- Set the permissions for the commands (0 game master only; 1 poi, respawn, addpoints for players, 2 unrestriced)/reset
- Reset the game (map_level, cooldowns, points table)/play gamename
- Start a game using a .yaml gameplan/pause
- Pause all timers/resume
- Resume all timers
docker run -v ./data:/bot/data battle_royal_vienna_telegram_bot python3 lat_long.py filename api_key [loaction_name]
maps as routespoints tableremove player from points tablegame master mode: only owner can do certain actionsmap: post the maptimertimer run commandprepeare gameplan(/play, /pause)pois cooldownreset game(pois cooldown,points table)test telegram location https://core.telegram.org/bots/api#locationhttps://pytba.readthedocs.io/en/latest/sync_version/index.html#telebot.TeleBot.send_locationupdate /startupdate /permissionshelpadd delete poi dialogadd menu- prevent adding double poi