First setup - Vivoe/turkish-delight-bot GitHub Wiki
Getting started
- Clone the repo and navigate into the project directory:
git clone https://github.com/Vivoe/turkish-delight-bot.git
cd turkish-delight-bot
- Install dependencies:
pip install -r requirements.txt
It's probably recommended for you to use either Anaconda or virtualenv.
- Add bot token. Create the following in a file named
keys/bot_token.json
:
{
"token": "your-bot-token-here"
}
- 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
- Run the server:
python3 turkish_delight_bot.py
You should be able to now see the bot on your Discord server. Try !help
.