async function syncGuildTemplate(guildId, templateCode) {
  await requireBotGuildPermissions(guildId, [
    "MANAGE_GUILD",
  ]);
  return await rest.runMethod(
    "put",
    `${endpoints.GUILD_TEMPLATES(guildId)}/${templateCode}`,
  );
}
/**
 * Syncs the template to the guild's current state.
 * Requires the `MANAGE_GUILD` permission.
 */
Syncs the template to the guild's current state.
Requires the `MANAGE_GUILD` permission.
Syncs the template to the guild ' s current state . Requires the ` MANAGE_GUILD ` permission .
async function syncGuildTemplate(guildId, templateCode) {
  await requireBotGuildPermissions(guildId, [
    "MANAGE_GUILD",
  ]);
  return await rest.runMethod(
    "put",
    `${endpoints.GUILD_TEMPLATES(guildId)}/${templateCode}`,
  );
}
async function syncGuildTemplate ( guildId , templateCode ) { await requireBotGuildPermissions ( guildId , [ "MANAGE_GUILD" , ] ) ; return await rest . runMethod ( "put" , ` ${ endpoints . GUILD_TEMPLATES ( guildId ) } ${ templateCode } ` , ) ; }
Syncs the template to the guild's current state.
Syncs the template to the guild ' s current state .