A Discord bot made to make Discord more like a virtual classroom.
{cmd_prefix}q
The bot renames the people who react to his message with the raised hand emoji and they are brought up in the voice channel (by adding a dot before their nickname). When people stop virtually raising their hand (either by removing the reaction or stopping the event), the bot renames them to their previous nickname.
Moreover, the bot cleans request messages and his messages itself so the tchat doesn't get spammed.
{cmd_prefix}e
Renames all people who "raised their hand" back to their default nicknames, deletes it's "Raise your hand!" message and the request message.
{cmd_prefix}join
{cmd_prefix}leave
$appel <role_name>
will list everyone from the <role_name>
that is not in the command author's voice channel.
$appel
will take the value of called_role_name
value in instance.conf
sudo apt install ffmpeg
ffmpeg is used for audio playback, if you don't need it, don't install it
git clone https://github.com/storca/vhbot.git
cd vhbot
pip3 install -r requirements.txt
cp default.conf instance.conf
Change the settings of the bot in instance.conf (all settings are detailled in the file)
NOTE : The members intent must be enabled with your bot, otherwise the roll call will not work, check this link for further reading.
Then run the bot
python3 vhbot.py
This bot is meant to be used on only one server, the feature which will not work in multiple servers is the "raise your hand" one. Other features should work fine.