Guild to modify
Instance Method
modifyGuild(_:with:then:)
Modifies a guild
Declaration
func modifyGuild(_ guildId: Snowflake, with options: [String : Any], then completion: ((Guild?, RequestError?) -> Void)? = nil)
Parameters
guildId
-
options
-
Preconfigured options to modify guild with
Options Params
name: The name to assign to the guild
region: The region to set this guild to
verification_level: The guild verification level integer
default_message_notifications: The guild default message notification settings integer
afk_channel_id: The channel id to assign afks
afk_timeout: The amount of time in seconds to afk a user in voice
icon: The icon in base64 string
owner_id: The user id to make own of this server
splash: If a VIP server, the splash image in base64 to assign