setGuildAfkTimeout


General

setGuildAfkTimeout sets the guild's voice AFK timeout.


Usage

Client:setGuildAfkTimeout(<number> afkTimeout, (string) reason)
Returns: <Guild> guild


Limitations

See discordGuild PATCH.


Example

print(Client:setGuildAfkTimeout(30 * 60, '30 minute timeout').afkTimeout)

Back to top