Discore
Show / Hide Table of Contents

Method SetAfkChannel

| Improve this Doc View Source

SetAfkChannel(Snowflake)

Sets the ID of the AFK channel for the guild.

Declaration
public ModifyGuildOptions SetAfkChannel(Snowflake afkChannelId)
Parameters
Type Name Description
Snowflake afkChannelId

The ID of the AFK channel or None to remove the AFK channel.

Returns
Type Description
ModifyGuildOptions
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX