Instance Method

modifyEmoji(emojiId:with:reason:then:)

Modifes an emoji in this guild

Declaration

func modifyEmoji(emojiId: Snowflake, with options: [String : Any], reason: String, then completion: ((Emoji?, RequestError?) -> Void)? = nil)

Parameters

options

Dictionary of options to give embed

Options Params

  • name: New name of the emoji

  • roles: Array of role Snowflake that you want to limit the emoji too