IgloClient

export declare class IgloClient extends Client

Constructor

constructor(options: IgloClientOptions): this;

Paramaters

nametypeoptionaldescription
optionsIgloClientOptionsNo-

Properties

commandHandler: CommandHandler

errorHandler: ErrorHandler

eventHandler: EventHandler

interactionHandler: InteractionHandler

logger: Logger

Methods

registerCoreEvents()

private
function registerCoreEvents(): void

Description

run(token)

function run(token: string): Promise<void>

Paramaters

nametypeoptionaldescription
tokenstringNo-

Description

Starts the bot and all its sub programs