First setup - Vivoe/turkish-delight-bot GitHub Wiki

Getting started

  1. Clone the repo and navigate into the project directory:
git clone https://github.com/Vivoe/turkish-delight-bot.git
cd turkish-delight-bot
  1. Install dependencies:
pip install -r requirements.txt

It's probably recommended for you to use either Anaconda or virtualenv.

  1. Add bot token. Create the following in a file named keys/bot_token.json:
{
    "token": "your-bot-token-here"
}
  1. Add a config file to specify which server to listen to and which channels have admin privilege. Create the following file in config.json:
{
    "servers": ["Server ID"],
    "admin_channels":["Channel ID"]
}

To get the server ID, go on Discord -> Server settings -> Widget -> Server ID. To get channel IDs, run:

python3 bin/get_server_channels.py ServerID
  1. Run the server:
python3 turkish_delight_bot.py

You should be able to now see the bot on your Discord server. Try !help.