AutoModSettings
Represents the settings of an automod.
Extends
Base
<T
>
Type parameters
Type parameter |
---|
T extends EventSubConnection |
Constructors
new AutoModSettings()
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
The aggression level of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:53
bullying
The bullying level of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:74
disability
The disability level of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:46
misogyny
The misogyny level of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:67
overall
The overall level of the automod.
Returns
null
| number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:39
racism
The racism level of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:88
sexBasedTerms
The level of sex based terms of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:95
sexuality
The sexuality level of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:60
swearing
The harassment level of the automod.
Returns
number
Source
twitchfy/packages/chatbot/src/structures/AutoModSettings.ts:81