1
0
mirror of https://github.com/MrDetonia/Maki.git synced 2024-11-22 03:44:18 -05:00
Maki is a Discord bot that does things. Written in Python 3 and relies on Discord.py API implementation.
Go to file
2019-02-26 14:22:57 +00:00
persist/markovs v1.2.2, move persistent storage into persist/ subdir, in preparation for docker 2019-02-25 13:58:54 +00:00
.gitignore added steam status 2017-04-08 13:32:48 +00:00
admincommands.py v1.2.2, move persistent storage into persist/ subdir, in preparation for docker 2019-02-25 13:58:54 +00:00
bot.py v1.3.0, added .spell command to search for D&D 5e spells 2019-02-26 14:22:57 +00:00
build.sh Docker! Updated README and added build/run scripts. Bootstrap script is obsolete. 2019-02-25 14:04:27 +00:00
commands.py v1.3.0, added .spell command to search for D&D 5e spells 2019-02-26 14:22:57 +00:00
common.py v1.3.0, added .spell command to search for D&D 5e spells 2019-02-26 14:22:57 +00:00
Dockerfile fixed minimum version requirements and tidied dockerfile 2019-02-26 14:22:21 +00:00
helpers.py v1.3.0, added .spell command to search for D&D 5e spells 2019-02-26 14:22:57 +00:00
LICENSE.md updated copyright status 2018-01-27 12:04:12 +00:00
markov.py v1.1.0, improved dice roll mechanic, code reformatting by yapf 2018-08-23 20:30:26 +00:00
README.md Docker! Updated README and added build/run scripts. Bootstrap script is obsolete. 2019-02-25 14:04:27 +00:00
requirements.txt fixed minimum version requirements and tidied dockerfile 2019-02-26 14:22:21 +00:00
run.sh Restart container on errors 2019-02-25 14:06:16 +00:00

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.