@twitchfy/chatbot
Version:
A powerful node module to make your own Twitch ChatBot
62 lines (61 loc) • 1.72 kB
TypeScript
import { Base } from './Base';
import type { ChatBot } from './ChatBot';
import type { AutoMod } from './AutoMod';
import type { EventSubConnection } from '../enums';
import type { AutoModSettings as AutoModSettingsData } from '@twitchfy/api-types';
/**
* Represents the settings of an automod.
*/
export declare class AutoModSettings<T extends EventSubConnection> extends Base<T> {
/**
* The autmod whose settings are.
*/
readonly automod: AutoMod<T>;
/**
* The data of the settings returned from the API.
*/
data: AutoModSettingsData;
/**
* Creates a new instance of the automod settings.
* @param chatbot The current instance of the chatbot.
* @param automod The automod whose settings are.
* @param data The data of the settings returned from the API.
*/
constructor(chatbot: ChatBot<T>, automod: AutoMod<T>, data: AutoModSettingsData);
/**
* The overall level of the automod.
*/
get overall(): number | null;
/**
* The disability level of the automod.
*/
get disability(): number;
/**
* The aggression level of the automod.
*/
get aggression(): number;
/**
* The sexuality level of the automod.
*/
get sexuality(): number;
/**
* The misogyny level of the automod.
*/
get misogyny(): number;
/**
* The bullying level of the automod.
*/
get bullying(): number;
/**
* The harassment level of the automod.
*/
get swearing(): number;
/**
* The racism level of the automod.
*/
get racism(): number;
/**
* The level of sex based terms of the automod.
*/
get sexBasedTerms(): number;
}