🍺 A simple discord bot that helps you get started within discord.py
Switch branches/tags
Nothing to show
Clone or download
Latest commit fd6fbce Nov 14, 2018
Permalink
Failed to load latest commit information.
cogs Such a small update Nov 13, 2018
utils Cleaning code Aug 23, 2018
.gitignore pm2 Dec 29, 2017
LICENSE Update LICENSE Feb 16, 2018
README.md update screenshot (#16) Nov 1, 2018
config.json.example Python 3.7 support Jul 26, 2018
data.py PEP8 nazi boi (#17) Nov 1, 2018
index.py Cleaning code and better layout Apr 18, 2018
pm2.json Python 3.7 support Jul 26, 2018
requirements.txt Cleaning code Aug 23, 2018

README.md

discord_bot.py

A simple discord bot that helps you get started within discord.py
Made by AlexFlipnote#0001

Do you need more help? Visit my server here: https://discord.gg/DpxkY3x

Requirements

Optional tools

  • Flake8 - Python Module (Keeps your code clean)
    • If you're using python 3.7, install by doing
    pip install -e git+https://gitlab.com/pycqa/flake8#egg=flake8
    
  • PM2 - NodeJS Module (Keeps the bot alive)

How to setup

[Optional]
If you use Windows, I would recommend using chocolatey (https://chocolatey.org/install) to install
ffmpeg, python and git, as it's both easier and promising to work.

Chocolatey command usage:
choco install <package>

Replace <package> with what you want to install, also remember to use Command Prompt as Admin.
  1. Make a bot here and grab the token Image_Example1

  2. Rename the file config.json.example and fill in the required spots, such as token, prefix and game

  3. To install what you need, do pip install -r requirements.txt
    (If that doesn't work, do python -m pip install -r requirements.txt)
    Note to 3: Use pip install with Administrator/sudo

  4. Start the bot by typing in CMD/Terminal python index.py

  5. You're done, enjoy your bot!

FAQ

Q: I don't see my bot on my server!
A: Invite it by using this URL: https://discordapp.com/oauth2/authorize?client_id=CLIENT_ID&scope=bot
Remember to replace CLIENT_ID with your bot client ID

Q: There aren't that many commands here...
A: Yes, I will only provide a few commands to get you started, maybe adding more later.