/magic-8-ball

A magic 8-ball discord bot that "tells the future". This accompanies a live tutorial given during the MLH Fellowship, on how to make a basic python discord bot.

Primary LanguagePythonMIT LicenseMIT

magic-8-ball

A magic 8-ball discord bot that "tells the future". This accompanies a live tutorial given during the MLH Fellowship, on how to make a basic python discord bot.

Project setup

  1. Set up virtual environment
# create a virtual env
python3 -m venv bot-env

# activate env
source bot-env/bin/activate

Add the name of your venv to the gitignore

# .gitignore
bot-env
  1. Make sure Python 3.5.3 or higher is installed

  2. Install discord.py

python3 -m pip install -U discord.py
  1. Install python-dotenv
pip3 install python-dotenv
  1. Create a discord server to test your bot on