$timeoutMember
$timeoutMember
will timeout a given member using Discord’s Timeout feature.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID | number | The guild ID of where the member is located in. | true |
memberID | number | The ID of the user that will be timeouted. | true |
timer | string, number | The duration of the timeout. | true |
timeoutEndsAt? | boolean | Returns time when timeout ends. 1. true 2. false (default) | false |
reason? | string | The reason that will be displayed in the guild’s audit logs. | false |
Example(s)
This will timeout a given member for five minutes: