async function editEmoji(
  guildId,
  id,
  options,
) {
  await requireBotGuildPermissions(guildId, [
    "MANAGE_EMOJIS",
  ]);
  return await rest.runMethod("patch", endpoints.GUILD_EMOJI(guildId, id), {
    name: options.name,
    roles: options.roles,
  });
}
/** Modify the given emoji. Requires the MANAGE_EMOJIS permission. */
Modify the given emoji. Requires the MANAGE_EMOJIS permission.
Modify the given emoji . Requires the MANAGE_EMOJIS permission .
async function editEmoji(
  guildId,
  id,
  options,
) {
  await requireBotGuildPermissions(guildId, [
    "MANAGE_EMOJIS",
  ]);
  return await rest.runMethod("patch", endpoints.GUILD_EMOJI(guildId, id), {
    name: options.name,
    roles: options.roles,
  });
}
async function editEmoji ( guildId , id , options , ) { await requireBotGuildPermissions ( guildId , [ "MANAGE_EMOJIS" , ] ) ; return await rest . runMethod ( "patch" , endpoints . GUILD_EMOJI ( guildId , id ) , { name : options . name , roles : options . roles , } ) ; }
Modify the given emoji.
Modify the given emoji .