Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/YogurtTheHorse/RogueBot
My simple rogue-like game for Telegram
https://github.com/YogurtTheHorse/RogueBot
bot game python python-3 quest rogue roguelike telegram text
Last synced: 26 days ago
JSON representation
My simple rogue-like game for Telegram
- Host: GitHub
- URL: https://github.com/YogurtTheHorse/RogueBot
- Owner: YogurtTheHorse
- Archived: true
- Created: 2016-08-02T13:52:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T16:00:37.000Z (almost 5 years ago)
- Last Synced: 2024-08-08T23:24:14.911Z (5 months ago)
- Topics: bot, game, python, python-3, quest, rogue, roguelike, telegram, text
- Language: Python
- Homepage: https://t.me/rog_bot
- Size: 1.59 MB
- Stars: 133
- Watchers: 15
- Forks: 41
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project is not maintained currently and probably won't be in future
# RogueBot
# Requirements
You must have Python 3 and running mongo to launch server. Also before launching you have to install requirements via pip3:
```Bash
pip3 install -r requirements.txt
```Than you have to create `config.py`:
```Python
# Token of your telegram bot
# (https://core.telegram.org/bots#6-botfather)
TELEGRAM_TOKEN = '123456789:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw '# Credtals for logging to vk
VK_LOGIN = '[email protected]'
VK_PASS = 'bot_password'# List of admins and moders
# Example: [ '66303244', 'vk1' ]
ADMINS_IDS = [ ]
MODERS_IDS = ADMINS_IDS + [ ]DATABASE_PATH = 'db.json'
USERS_PATH = 'users'
```You don't have to write vk login and pass, if you wouldn't use it. Same with telegram token.
# Launching
To launch telegram bot:
```Bash
python3 ./main.py
```or
To launch vk bot:
```Bash
python3 ./main_vk.py
```You can also build all bot to pyc files (Just for fun):
```Bash
python3 ./build.py
cd build
python3 main.pyc
```That's it.
You can write me via Telegram (@yogurtthehorse) or VK.com (vk.com/yogurtthehirse) if you have any questions.