edit method

Future<void> edit({
  1. String? name,
  2. List<Snowflake>? roles,
})

Allows to edit guild emoji

Implementation

Future<void> edit({String? name, List<Snowflake>? roles}) =>
    client.httpEndpoints.editGuildEmoji(this.guild.id, this.id, name: name, roles: roles);