Ban
Ban a user from the server permanently.Syntax
Parameters
The user to ban from the server
Reason for banning the user (will be shown in audit logs)
Required permissions
User permission
BAN_MEMBERSBot permission
BAN_MEMBERSExamples
Notes
- You cannot ban yourself
- The bot cannot ban users with higher or equal roles
- The ban reason will include the moderator’s username
- If no reason is provided, it will show “No reason provided by [username]“
Kick
Kick a user from the server (they can rejoin with an invite).Syntax
Parameters
The user to kick from the server
Reason for kicking the user (will be shown in audit logs)
Required permissions
User permission
KICK_MEMBERSBot permission
KICK_MEMBERSExamples
Notes
- You cannot kick yourself
- The bot cannot kick users with higher or equal roles
- The kick reason will include the moderator’s username
- If no reason is provided, it will show “No reason provided by [username]“
Best practices
Always provide reasons
Always provide reasons
Including a reason with moderation actions helps maintain transparency and creates a clear moderation history in your server’s audit logs.
Check role hierarchy
Check role hierarchy
Ensure Yato’s role is positioned higher than the roles of users you want to moderate. The bot cannot take action against users with equal or higher roles.
Set up proper permissions
Set up proper permissions
Only grant moderation permissions to trusted members. These commands can significantly impact your server.