GuildEditAction¶
Inherits: DiscordRESTAction < Reference < Object
Description¶
Action to edit a guild settings.
Methods¶
Method Descriptions¶
-
GuildEditAction GuildEditAction ( DiscordRESTMediator rest, int guild_id )
Constructs a new
GuildEditActioninstance.
-
Guild submit ( ) coroutine
Edits the guild settings.
-
GuildEditAction set_name ( String name )
Sets the guild name.
-
GuildEditAction set_verification_level ( int level )
Sets the member verfication level.
leveltakes aGuild.VerificationLevelvalue.
-
GuildEditAction set_notifications_level ( int level )
Sets the default message notifications level.
leveltakes aGuild.MessageNotificationLevelvalue.
-
GuildEditAction set_nsfw_level ( int level )
Sets the NSFW level.
leveltakes aGuild.ExplicitContentFilterLevelvalue.
-
GuildEditAction set_afk_channel ( int id )
Sets the afk channel in the guild.
idmust point to a voice channel.
-
GuildEditAction set_afk_timeout ( int seconds )
Sets the afk timeout in seconds, can be set to:
60,300,900,1800or3600.
-
GuildEditAction set_icon ( Image image )
Sets the guild icon,
imagesize has to be equal to1024x1024.
-
GuildEditAction set_owner ( int id )
Transfers guild ownership to an other user. The user executing this must be the guild owner.
-
GuildEditAction set_splash ( Image image )
Sets the guild splash screen. Requires the guild to have
INVITE_SPLASHfeature.
-
GuildEditAction set_discovery_splash ( Image image )
Sets the guild discovery splash image. Requires the guild to have
DISCOVERABLEfeature.
-
GuildEditAction set_banner ( Image image )
Sets the guild banner image. Requires the guild to have
BANNERfeature.
-
GuildEditAction set_system_channel ( int id )
Sets the system channel in the guild.
idmust point to a text channel.
-
GuildEditAction set_system_channel_flags ( int flags )
Sets the system channel flags in the guild.
-
GuildEditAction set_rules_channel ( int id )
Sets the afk channel in the guild.
idmust point to a text channel.
-
GuildEditAction set_public_updates_channel ( int id )
Sets the afk channel in the guild.
idmust point to a text channel.
-
GuildEditAction set_preferred_locale ( String local )
Sets the preferred locale of a community guild. See Locales.
-
GuildEditAction set_features ( PoolStringArray features )
Sets the enabled guild features.
-
GuildEditAction set_description ( String description )
Sets the guild description.
-
GuildEditAction enable_premium_progress_bar ( bool value )
Whether the guild's boost progress bar should be enabled.
-
GuildEditAction remove_afk_channel ( )
Removes the afk channel.
Note: does not delete the channel.
-
GuildEditAction remove_system_channel ( )
Removes the system channel.
Note: does not delete the channel.
-
GuildEditAction remove_rules_channel ( )
Removes the rules channel.
Note: does not delete the channel.
-
GuildEditAction remove_public_updates_channel ( )
Removes the public updates channel.
Note: does not delete the channel.
-
GuildEditAction reason ( String why )
Sets the reason for editing the guild.