Akabot Documentation: Moderation Module
This module provides commands to perform moderation actions such as kicking, banning, timing out, and removing timeouts for users in a Discord server.
Commands
/kick
- Description: Kick a user from the server.
- Required Permissions: kick_members
- Usage: /kick <user> <reason> [send_dm=True]
- <user>: Mention or ID of the user to kick.
- <reason>: Reason for kicking the user.
- [send_dm]: Optional boolean to send a DM to the user (default: True).
/ban
- Description: Ban a user from the server.
- Required Permissions: ban_members
- Usage: /ban <user> <reason> [send_dm=True]
- <user>: Mention or ID of the user to ban.
- <reason>: Reason for banning the user.
- [send_dm]: Optional boolean to send a DM to the user (default: True).
/timeout
- Description: Time out a user from the server. If a user has a timeout, this will change the timeout.
- Required Permissions: mute_members
- Usage: /timeout <user> <reason> <days> <hours> <minutes> [send_dm=True]
- <user>: Mention or ID of the user to time out.
- <reason>: Reason for timing out the user.
- <days>: Number of days for the timeout.
- <hours>: Number of hours for the timeout.
- <minutes>: Number of minutes for the timeout.
- [send_dm]: Optional boolean to send a DM to the user (default: True).
/remove_timeout
- Description: Remove a timeout from a user on the server.
- Required Permissions: mute_members
- Usage: /remove_timeout <user> <reason> [send_dm=True]
- <user>: Mention or ID of the user to remove the timeout from.
- <reason>: Reason for removing the timeout.
- [send_dm]: Optional boolean to send a DM to the user (default: True).