async function editSlashCommandPermissions(
  guildId,
  commandId,
  options,
) {
  return await rest.runMethod(
    "put",
    endpoints.COMMANDS_PERMISSION(applicationId, guildId, commandId),
    {
      permissions: snakelize(options),
    },
  );
}
/** Edits command permissions for a specific command for your application in a guild. */
Edits command permissions for a specific command for your application in a guild.
Edits command permissions for a specific command for your application in a guild .
async function editSlashCommandPermissions(
  guildId,
  commandId,
  options,
) {
  return await rest.runMethod(
    "put",
    endpoints.COMMANDS_PERMISSION(applicationId, guildId, commandId),
    {
      permissions: snakelize(options),
    },
  );
}
async function editSlashCommandPermissions ( guildId , commandId , options , ) { return await rest . runMethod ( "put" , endpoints . COMMANDS_PERMISSION ( applicationId , guildId , commandId ) , { permissions : snakelize ( options ) , } , ) ; }
Edits command permissions for a specific command for your application in a guild.
Edits command permissions for a specific command for your application in a guild .