Instance Method

modifyEmbed(for:with:then:)

Modifes a Guild Embed

Declaration

func modifyEmbed(for guildId: Snowflake, with options: [String : Any], then completion: (([String : Any]?, RequestError?) -> Void)? = nil)

Parameters

guildId

Guild to edit embed in

options

Dictionary of options to give embed

Options Params

  • enabled: Whether or not embed should be enabled

  • channel_id: Snowflake of embed channel