AutoModSettings
Represents the settings of an automod.
Extends
Base<T>
Type parameters
| Type parameter |
|---|
T extends EventSubConnection |
Constructors
new AutoModSettings()
1new AutoModSettings<T>(2 chatbot: ChatBot<T>,3 automod: AutoMod<T>,4data: AutoModSettings): AutoModSettings<T>Creates a new instance of the automod settings.
Parameters
| Parameter | Type | Description |
|---|---|---|
chatbot | ChatBot<T> | The current instance of the chatbot. |
automod | AutoMod<T> | The automod whose settings are. |
data | AutoModSettings | The data of the settings returned from the API. |
Returns
Overrides
Base<T>.constructor
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:30
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
automod | readonly | AutoMod<T> | The autmod whose settings are. | - |
chatbot | readonly | ChatBot<T> | The current instance of the chatbot. | Base.chatbot |
data | public | AutoModSettings | The data of the settings returned from the API. | - |
Accessors
aggression
1get aggression(): numberThe aggression level of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:53
bullying
1get bullying(): numberThe bullying level of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:74
disability
1get disability(): numberThe disability level of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:46
misogyny
1get misogyny(): numberThe misogyny level of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:67
overall
1get overall(): null | numberThe overall level of the automod.
Returns
null | number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:39
racism
1get racism(): numberThe racism level of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:88
sexBasedTerms
1get sexBasedTerms(): numberThe level of sex based terms of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:95
sexuality
1get sexuality(): numberThe sexuality level of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:60
swearing
1get swearing(): numberThe harassment level of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:81