Moderation
setGuildAFKChannel
$setGuildAFKChannel — Sets the AFK channel for a guild, returns bool.
Sets the AFK channel for a guild, returns bool.
Syntax
$setGuildAFKChannel[guildID;(channelID);(reason)]
Parameters
- guildID (id, required) — The guild to set AFK channel for
- channelID (id, optional) — The new AFK channel
- reason (text, optional) — The reason for this action
Return Value
- Boolean.
Usage
$setGuildAFKChannel[guildID;(channelID);(reason)] → result
Example
$sendMessage[$setGuildAFKChannel[10;32]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.