Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 2 KB

README.md

File metadata and controls

41 lines (30 loc) · 2 KB

mrsoal

warning: development of this bot is stopped
Run at your own risk

requirements

python >= 3.10.5
setup mongodb server
packages in requirements.txt

pip install -r requirements.txt

preparation

confining settings.json:

name type description
token string the token of your bot (not your application) here
default_prefix string default prefix of bot
debug boolean if bot is in development or no
engine_url string url of mongo db server here
test_guilds array of integers IDs of test guilds that enabled when debug is true
main_guild integer ID of the management discord server
question_query_channel integer ID of the channel from main_guild that new quesation goes to
admin integer ID of the role from main_guild that manage the bot

upload questions to database

python migrate.py

how to run

python main.py