(Work in Progress)
A discord Bot made with Python to play Chess with others on Discord.
-
The bot requires Python 3.6 or higher to run
-
Dependencies are present in the
pyproject.toml
file and can be easily installed withpoetry
with$ poetry install
-
Rename
bot/orm/db_credentials.example.json
todb_credentials.json
and put in the database credentials for a Postgres database- Or, if you wish to use a Sqlite database, uncomment the
db = peewee.SqliteDatabase('bot.db')
line atbot/orm/models.py
- Or, if you wish to use a Sqlite database, uncomment the
-
Rename
bot/settings.example.json
tosettings.json
and edit in the needed fields- You can create a discord bot and get its token at https://discordapp.com/developers/applications/ (Do not share your token with anyone!)
$ python bot.py