Module twitchpy.dataclasses.automod_settings

Classes

class AutoModSettings (broadcaster_id: str,
moderator_id: str,
overall_level: int,
disability: int,
aggression: int,
sexuality_sex_or_gender: int,
misogyny: int,
bullying: int,
swearing: int,
race_ethnicity_or_religion: int,
sex_based_terms: int)
Expand source code
@dataclass
class AutoModSettings:
    """
    Represents the AutoMod settings

    Attributes:
        broadcaster_id (str): The broadcaster’s ID
        moderator_id (str): The moderator’s ID
        overall_level (int): The default AutoMod level for the broadcaster
        disability (int): The Automod level for discrimination against disability
        aggression (int): The Automod level for hostility involving aggression
        sexuality_sex_or_gender (int): The AutoMod level for discrimination based on sexuality, sex, or gender
        misogyny (int): The Automod level for discrimination against women
        bullying (int): The Automod level for hostility involving name calling or insults
        swearing (int): The Automod level for profanity
        race_ethnicity_or_religion (int): The Automod level for racial discrimination
        sex_based_terms (int): The Automod level for sexual content
    """

    broadcaster_id: str
    moderator_id: str
    overall_level: int
    disability: int
    aggression: int
    sexuality_sex_or_gender: int
    misogyny: int
    bullying: int
    swearing: int
    race_ethnicity_or_religion: int
    sex_based_terms: int

Represents the AutoMod settings

Attributes

broadcaster_id : str
The broadcaster’s ID
moderator_id : str
The moderator’s ID
overall_level : int
The default AutoMod level for the broadcaster
disability : int
The Automod level for discrimination against disability
aggression : int
The Automod level for hostility involving aggression
sexuality_sex_or_gender : int
The AutoMod level for discrimination based on sexuality, sex, or gender
misogyny : int
The Automod level for discrimination against women
bullying : int
The Automod level for hostility involving name calling or insults
swearing : int
The Automod level for profanity
race_ethnicity_or_religion : int
The Automod level for racial discrimination
sex_based_terms : int
The Automod level for sexual content

Class variables

var aggression : int

The type of the None singleton.

var broadcaster_id : str

The type of the None singleton.

var bullying : int

The type of the None singleton.

var disability : int

The type of the None singleton.

var misogyny : int

The type of the None singleton.

var moderator_id : str

The type of the None singleton.

var overall_level : int

The type of the None singleton.

var race_ethnicity_or_religion : int

The type of the None singleton.

var sex_based_terms : int

The type of the None singleton.

var sexuality_sex_or_gender : int

The type of the None singleton.

var swearing : int

The type of the None singleton.