Moderation
setGuildInvitesDisabled
$setGuildInvitesDisabled — Sets the guild’s invites disabled for a specific duration, returns bool
Sets the guild's invites disabled for a specific duration, returns bool
Syntax
$setGuildInvitesDisabled[guildID;(duration)]
Parameters
- guildID (id, required) — The guild to disable invites for
- duration (text, optional) — The duration for disabling invites, omit to enable invites again
Return Value
- Boolean.
Usage
$setGuildInvitesDisabled[guildID;(duration)] → result
Example
$sendMessage[$setGuildInvitesDisabled[10;30m]]
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.