Self-hosting the bot

To self-host the bot, you’ll need to install python3.6 and python3.6-dev and git. Then, follow the instructions:

Warning: Self-hosting the bot is great, however, as the support staff don’t have access to your host, we won’t be able to support you on bugs or problems you may stumble upon.

Clone the git repository git clone https://github.com/DuckHunt-discord/DHV2.git

Install requirements pip install --upgrade -r requirements.txt

Create a credentials.json file  

{
"token": "TOKEN",
"debug_token": "DEBUG TOKEN TO SPAWN ON ANOTHER USER-BOT",
"client_id": "BOT ID",
"bots_key": "API KEY FOR DISCORD BOTS"
}

Add your user ID in cogs/utils/checks.py

Launch bot.py

Join our discord server for support