Moderation
Category
Ban Members
Permissions
5
Parameters
What it does
Reach for /temporary-ban when you need a repeatable administrative action without clicking through Discord's settings by hand. Venon Security watches the syntax, the permissions and the context, and the execution can later be tied to the moderation logs or the module's configuration.
The command requires the scope: Ban Members. If Discord rejects the action, check the bot role's position in the hierarchy, the permissions on the channel and whether the module is enabled in the dashboard.
Syntax
/temporary-ban <user> <duration> [reason] [delete-days] [private]Angle brackets mark required parameters, square brackets optional ones. In slash commands Discord suggests the fields for you, so it is best to fill them straight from the suggestion list.
/temporary-ban user:@nick duration:value reason:spam and insults delete-days:1Treat the example as a template. Swap the member, channel, role, reason or duration for the real situation on your server.
Parameters
useruserrequiredUser to ban
durationtextrequiredDuration (for example: 1d 2h 30m)
reasontextoptionalReason
delete-daysintegeroptionalDelete messages from the last N days (0–7)
privateyes/nooptionalOnly you can see the response
Problems
Check whether the member and the bot both hold the required scope: Ban Members.
For actions on members, the bot's role has to sit above the target's role.
If the command depends on a module, enable it in the dashboard and check the channel configuration.
Slash commands work best alongside the dashboard, the logs and the protection modules. Add the bot to your server, read the documentation and set up your team's permissions.