Skip to content

AutoModSettings

Represents the settings of an automod.

Extends

  • Base<T>

Type parameters

Type parameter
T extends EventSubConnection

Constructors

new AutoModSettings()

1
new AutoModSettings<T>(
2
chatbot: ChatBot<T>,
3
automod: AutoMod<T>,
4
data: AutoModSettings): AutoModSettings<T>

Creates a new instance of the automod settings.

Parameters

ParameterTypeDescription
chatbotChatBot<T>The current instance of the chatbot.
automodAutoMod<T>The automod whose settings are.
dataAutoModSettingsThe data of the settings returned from the API.

Returns

AutoModSettings<T>

Overrides

Base<T>.constructor

Source

twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:30

Properties

PropertyModifierTypeDescriptionInherited from
automodreadonlyAutoMod<T>The autmod whose settings are.-
chatbotreadonlyChatBot<T>The current instance of the chatbot.Base.chatbot
datapublicAutoModSettingsThe data of the settings returned from the API.-

Accessors

aggression

1
get aggression(): number

The aggression level of the automod.

Returns

number

Source

twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:53


bullying

1
get bullying(): number

The bullying level of the automod.

Returns

number

Source

twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:74


disability

1
get disability(): number

The disability level of the automod.

Returns

number

Source

twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:46


misogyny

1
get misogyny(): number

The misogyny level of the automod.

Returns

number

Source

twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:67


overall

1
get overall(): null | number

The overall level of the automod.

Returns

null | number

Source

twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:39


racism

1
get racism(): number

The racism level of the automod.

Returns

number

Source

twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:88


sexBasedTerms

1
get sexBasedTerms(): number

The level of sex based terms of the automod.

Returns

number

Source

twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:95


sexuality

1
get sexuality(): number

The sexuality level of the automod.

Returns

number

Source

twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:60


swearing

1
get swearing(): number

The harassment level of the automod.

Returns

number

Source

twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:81