setGuildSystemChannel


General

setGuildSystemChannel sets a new system channel for the guild.


Usage

Client:setGuildSystemChannel(<string> systemChannelId, (string) reason)
Returns: <Guild> guild


Limitations

See discordGuild PATCH.


Example

print(Client:setGuildSystemChannel("521329297428840448", "New system channel").systemChannel.name)

Back to top