$timeout
Timeouts a user for a certain duration.
Syntax
$timeout[Duration;(User ID)]
Parameters
Duration
(Type: Duration || Flag: Required)
: The amount of time the user should be timed out for. It shouldn’t exceed more than “28 days”.User ID
(Type: Snowflake || Flag: Optional)
: The user to timeout. If this parameter is empty, timeouts the mentioned users.
Permissions
Required permissions that the bot must have for this function to work properly:
moderatemembers
Examples
-
Without ID
$nomention $timeout[$message[1]]
-
With ID
$nomention $allowMention $timeout[$message[1];$findUser[$message[2];no]]