Skip to content

Instantly share code, notes, and snippets.

@inahok
Created March 24, 2018 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inahok/a81df96e87c819031e8a182bf2c9929e to your computer and use it in GitHub Desktop.
Save inahok/a81df96e87c819031e8a182bf2c9929e to your computer and use it in GitHub Desktop.
python-treasurehunt-bot config sample
{
"TOKEN_BOT": "ТОКЕН_НАШЕГО_БОТА",
"authorized_users": [123456789, 987654321],
"logging_user": 111222333,
"unauthorized_user_msg": "Ты не в списке прглашенных, друг!",
"start_game_msg": "Привет, искатель приключений;) Я — бот, и мне велено позабавить тебя, так что убедись, что gps включен, и давай начнем искать сокровища🐈",
"finish_game_msg": "Ты выиграл)) \r\nВот твой [сундук с сокровищем](https://github.com/inahok/python-treasurehunt-bot)",
"states": [
{
"type": "position",
"init_msg": "Вот твоя следуюущая цель",
"img": "photo01.png",
"help_msg": "Это же кремль!",
"target_position": [58.521239, 31.276128],
"max_distance": 100,
"wrong_position_reply": "Ты в %d м от правильной локации",
"on_exit_reply": "Красиво) Пойдем дальше"
},
{
"type": "position",
"init_msg": "Теперь отправляйся сюда",
"img": "photo02.png",
"help_msg": "Никольский собор",
"target_position": [58.517712, 31.284784],
"max_distance": 100,
"wrong_position_reply": "Ты в %d м от правильной локации",
"on_exit_reply": "Правильно!"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment