async function deleteEmoji(
  guildId,
  id,
  reason,
) {
  await requireBotGuildPermissions(guildId, [
    "MANAGE_EMOJIS",
  ]);
  return await rest.runMethod("delete", endpoints.GUILD_EMOJI(guildId, id), {
    reason,
  });
}
/** Delete the given emoji. Requires the MANAGE_EMOJIS permission. Returns 204 No Content on success. */
Delete the given emoji. Requires the MANAGE_EMOJIS permission. Returns 204 No Content on success.
Delete the given emoji . Requires the MANAGE_EMOJIS permission . Returns 204 No Content on success .
async function deleteEmoji(
  guildId,
  id,
  reason,
) {
  await requireBotGuildPermissions(guildId, [
    "MANAGE_EMOJIS",
  ]);
  return await rest.runMethod("delete", endpoints.GUILD_EMOJI(guildId, id), {
    reason,
  });
}
async function deleteEmoji ( guildId , id , reason , ) { await requireBotGuildPermissions ( guildId , [ "MANAGE_EMOJIS" , ] ) ; return await rest . runMethod ( "delete" , endpoints . GUILD_EMOJI ( guildId , id ) , { reason , } ) ; }
Delete the given emoji.
Delete the given emoji .