A discord bot, written in python, with several utility/meme generators/RPG elements and a feature-rich hangman game.
- Needs python 3.6+ with sqlite3, pillow, requests, discord (0.16.12), numpy, dblpy (info on discordbots.org), and profanityfilter packages installed (use python3 -m pip install X)
- Optional: (Recommended) Create virtual environment, run
pip install -r requirements.txt
; - In
scripts/setup/
folder, runpython setup.py
- In new
tokens
folder, replace value intokenbot.ini
with your discord bot token
Optional entries in tokens
folder:
- imgflip account token in
tokenimgflip.ini
(if meme generation desired) - discordbots.org token in
token_dbo_api.ini
(if uploading statistics about your bot is desired) - google cloud service account, save as
creds.json
to upload database backups whenbackup_script.py
is run
Optional edits in db_and_words
folder:
- list of discord "emojis" as
emoji_names.txt
, the emote ID's must be replaced for a different discord bot to use them
foo@bar:~$ python3 ./Main.py
C:\Users\jsmith> python Main.py
Note: In this repository, paths are currently setup to run in a windows environment. Adjustment will need to be made for running on Unix.
MIT license.