Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

YogurtTheHorse/RogueBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0fc28b8 · Feb 25, 2020
Oct 29, 2016
Nov 18, 2016
Nov 20, 2016
Sep 9, 2016
Dec 22, 2016
Jan 4, 2017
Oct 29, 2016
Dec 23, 2016
Sep 4, 2016
Sep 18, 2016
Feb 25, 2020
Sep 19, 2016
Sep 23, 2016
Aug 29, 2016
Oct 1, 2016
Sep 19, 2016
Nov 25, 2016
Mar 21, 2018
Aug 25, 2016
Sep 18, 2016
Sep 18, 2016
Sep 29, 2016
Nov 18, 2016
Sep 28, 2016
Sep 18, 2016
Sep 14, 2016
Mar 21, 2018

Repository files navigation

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:

pip3 install -r requirements.txt

Than you have to create config.py:

# 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:

python3 ./main.py

or

To launch vk bot:

python3 ./main_vk.py

You can also build all bot to pyc files (Just for fun):

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.