Maki is a Discord bot that does things. Written in Python 3 and relies on Discord.py API implementation.
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
Zac Herd 955ee8b8d1 Restart container on errors 5 yıl önce
persist/markovs v1.2.2, move persistent storage into persist/ subdir, in preparation for docker 5 yıl önce
.gitignore added steam status 7 yıl önce
Dockerfile Docker! Updated README and added build/run scripts. Bootstrap script is obsolete. 5 yıl önce
LICENSE.md updated copyright status 6 yıl önce
README.md Docker! Updated README and added build/run scripts. Bootstrap script is obsolete. 5 yıl önce
admincommands.py v1.2.2, move persistent storage into persist/ subdir, in preparation for docker 5 yıl önce
bot.py v1.2.2, move persistent storage into persist/ subdir, in preparation for docker 5 yıl önce
build.sh Docker! Updated README and added build/run scripts. Bootstrap script is obsolete. 5 yıl önce
commands.py v1.2.2, move persistent storage into persist/ subdir, in preparation for docker 5 yıl önce
common.py Docker! Updated README and added build/run scripts. Bootstrap script is obsolete. 5 yıl önce
helpers.py v1.1.0, improved dice roll mechanic, code reformatting by yapf 5 yıl önce
markov.py v1.1.0, improved dice roll mechanic, code reformatting by yapf 5 yıl önce
requirements.txt v.1.2.1, security update for requests dependency 5 yıl önce
run.sh Restart container on errors 5 yıl önce

README.md

Maki - Discord bot written in Python

The discord bot that does things.


Running Maki

Maki relies on Python 3.4+ and the latest discord.py version.
A Dockerfile exists to handle these requirements automatically. Use build.sh to create the maki container image, and run.sh to start the bot.
Be sure to have created secret.py with the required tokens before running build.sh.

If you would prefer not to use docker, ensure you have at least Python 3.4, and use pip install -r requirements.txt to install the required Python libraries. Then run bot.py.

Required Files

  • You will require a Discord Application for Maki to use, the token for which should be stored in a file called secret.py:
token = '<Discord Application Token>'
lfmkey = '<last.fm API key>'
steamkey = '<Steam API key>'
  • Maki uses JSON files to store data persistently. These will be created automatically in the persist directory.

License

Copyright 2019, Zac Herd.
All Rights Reserved.
Licensed under the BSD 3-clause License.
See LICENSE.md for a full copy of the license text.