A Discord bot written for a personal server shared by friends. This projects utilizes the discord.py library
Discord is a chat platform for gamers designed to combine the features of Skype and Teamspeak 3, allowing ease of access for text and voice communication. It has a WebSocket API to send and receive data, and you can create bots to perform a wide array of functions.
This bot can:
- Recite random DJ Khaled quotes
- Roll a die
- Answer a yes or no question
- Check the price of an EVE Online item using the EVE-Central Market API
- Search youtube videos
- Store quotes
To run this bot, you will need:
- Python 3.6+
- Pip
- VirtualEnv installed from Pip (and virtualenvwrapper for ease of use, ideally)
- A Discord account to register for your bot
- A SQLite Version of the Eve Static Data Export (SDE), if you intend to use the EVE features
To set up the bot, clone the repository and use Pip to set it up.
git clone https://github.com/cameronobrien/BroadsideBot.git
virtualenv dev
workon dev
pip install -r requirements.txt
python BroadsideBot.pyYou'll need to create data/ under the app/ folder. In here should be two things:
- The EVE SDE (if you intend to use the EVE features)
- A .txt file named bot_key, which has only one line and contains your Discord application's client ID
The bot will not work without the bot key. The SDE is optional but recommended.