Balancer of the number of people on the discord voice channel
- Make config.json
- Run
python3 main.py
{
"token": "YOUR_BOT_TOKEN",
"entrance_id": VOICE_CHANNEL_ID,
"target_ids": [VOICE_CHANNEL_ID, VOICE_CHANNEL_ID, ...],
"special_roles": ["ROLE_NAME", "ROLE_NAME", ...]
}
- entrance_id: 入口となるチャンネルID
- target_ids: 飛ばす先のチャンネルID
- special_roles: ロール内で人数を均等にする場合に、そのロール名を指定する