- Then run python main.py make sure you add necessary tokens to use it
- Enjoy happy coding.
Functions
Bot Connection: The bot joins the Discord server and, when ready, prints a message.
The bot can ban someone from the server with the kick command. It verifies that the command's author has the required permissions before kicking the designated member with an optional justification.
The bot has the ability to ban users from the server. It verifies that the command's author has the required rights before banning the specified member with an optional justification.
Mute Command: The bot has the ability to silence a server user. By defining a "Muted" role if one doesn't already exist and setting permissions, it verifies that the command's author has the required permissions before muting the given member.
I hope you enjoy and join my discord server to ask any question.