Simple bot that plays quiz game with you.
Set environment variables:
- TELEGRAM_BOT_TOKEN - Telegram bot token. Can be obtained from Bot Father.
- VK_BOT_TOKEN - Vkontakte.ru bot token. Generated at the VK group administration panel.
- REDIS_HOST - Redis DB hostname.
- REDIS_PORT - Redis DB port.
- REDIS_PASSWORD - Redis DB password.
- QUESTIONS_FILE - Path to a file where questions for the bot are stored (as a JSON).
- Run Telegram bot.
python run.py telegram_bot
- Run VK bot.
python run.py vk_bot
- Parse questions data and store it in a JSON file (data can be found here).
python run.py parse_questions --questions_folder data --output_file questions.json
- Telegram version of a bot lives here - @ae_dvmn_support_bot
- VK version - https://vk.com/club201440450