- Python 3.5.3+
- discord.py (
pip install discord.py
) - pytz (
pip install pytz
) - psutil (
pip install psutil
) - Requests (
pip install requests
)
- Clone the repository:
git clone https://github.com/gregzaal/Auto-Voice-Channels.git
- Go to the directory:
cd Auto-Voice-Channels
- Make folder to store guild settings:
mkdir guilds
- Install pip:
sudo apt-get -y install python3-pip
- Install requirements:
python3 -m pip install -r requirements.txt
- Install venv:
pip3 install virtualenv
- Make venv:
python3 -m virtualenv bot-env
- Use venv:
. bot-env/bin/activate
- Create your application + bot here: https://discordapp.com/developers/applications
- Set up
config.json
:
{
"admin_id":123456789012345678,
"client_id":987654321098765432,
"log_timezone":"Africa/Johannesburg",
"token":"XXXXXXXXXXXXXXXXXXXXXXXX.XXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
- Invite the bot to your own server, replacing
<YOUR BOT ID>
with... your bot ID:https://discordapp.com/api/oauth2/authorize?client_id=<YOUR BOT ID>&permissions=286280784&scope=bot
- Start your bot:
python3 auto-voice-channels.py
Join the support server and ask, or open an issue.