syntax = "proto3";

package automod_settings_moderation_action;

option go_package = "automod_settings_moderation_action";

import "eventbus/change.proto";
import "eventbus/owner.proto";

// AutomodSettingsModerationActionCreate is triggered when a moderator changes the Automod settings on a channel.
message AutomodSettingsModerationActionCreate {
  option (eventbus.owner.ldap_group) = "team-safety";
  // The id of the channel upon which changes are being made.
  string user_id = 1;
  // The moderator making changes to channel Automod settings.
  string moderator_id = 2;
  // The level of filtering for name calling.
  eventbus.change.Int64Change namecalling_level = 7;
  // The level of filtering for homophobia.
  eventbus.change.Int64Change homophobia_level = 8;
  // The level of filtering for ableism.
  eventbus.change.Int64Change ableism_level = 9;
  // The level of filtering for racism.
  eventbus.change.Int64Change racism_level = 10;
  // The level of filtering for misogyny.
  eventbus.change.Int64Change misogyny_level = 11;
  // The level of filtering for whitenationalism.
  eventbus.change.Int64Change whitenationalism_level = 12;
  // One of the 4 default AutoMod levels (1, 2, 3, 4).
  eventbus.change.Int64Change overall_automod_level = 13;
  // The level of filtering for aggression.
  eventbus.change.Int64Change aggression_level = 14;
  // The level of filtering for sexuality.
  eventbus.change.Int64Change sexuality_level = 15;
  // The level of filtering for swearing.
  eventbus.change.Int64Change swearing_level = 16;
  // The level of filtering for aggressive. DEPRECATED SIFT SETTING - uses scale 3/4/5/6.
  eventbus.change.Int64Change aggressive_level = 3 [deprecated = true];
  // The level of filtering for sexual. DEPRECATED SIFT SETTING - uses scale 3/4/5/6.
  eventbus.change.Int64Change sexual_level = 4 [deprecated = true];
  // The level of filtering for profanity. DEPRECATED SIFT SETTING - uses scale 3/4/5/6.
  eventbus.change.Int64Change profanity_level = 5 [deprecated = true];
  // The level of filtering for identity. DEPRECATED SIFT SETTING - uses scale 3/4/5/6.
  eventbus.change.Int64Change identity_level = 6 [deprecated = true];
}
