✏️ Nameban
This command is used to ban users based on their username allowing to use Regex to have a more accurate filter for the name.
/nameban
Parameters
*Required
name*
type: String | Regex
description: Users' name to ban | Regex to match the users' name to ban
reason*
type: String
description: Reason to ban the users for
regex
type: Boolean
description: Use the name parameter as a Regex expression
default: False
info
To add the case insensitive flag to the regex, add (?i)
at the start/end of the regex.
If you want to learn a bit more about Regex you can check regexr.com to help you build your expressions.
global
type: Boolean
description: Global ban the users
default: False
role-check
type: Boolean
description: Whether to ban accounts with roles or not
default: False
age
type: Number
description: Accounts older then this value (in days) won't get banned
days
type: Option
description: Number of days to delete messages
options: [ 0 to 7 ]
default: 7
Example Usage
- with Name
- with Regex
/nameban name:Support reason:Scam
/nameban name:(?i)support reason:Raid regex:True