Skip to content

$timeoutMember

$timeoutMember will timeout a given member using Discord’s Timeout feature.

Usage

$timeoutMember[guildID;memberID;timer;timeoutEndsAt?;reason?]

Parameters

FieldTypeDescriptionRequired
guildIDnumberThe guild ID of where the member is located in.true
memberIDnumberThe ID of the user that will be timeouted.true
timerstring, numberThe duration of the timeout.true
timeoutEndsAt?booleanReturns time when timeout ends.
1. true
2. false (default)
false
reason?stringThe reason that will be displayed in the guild’s audit logs.false

Example(s)

This will timeout a given member for five minutes:

1
client.command({
2
name: "timeoutMember",
3
code: `
4
$timeoutMember[$guildID;userID;5m;false]`
5
});