Class Global

Global part for a module

  • Special part which is not managed by a event handler and only ran at startup

Hierarchy

Constructors

Properties

Constructors

Properties

execute: ((...args: any[]) => Promise<void>)

Type declaration

    • (...args: any[]): Promise<void>
    • The function when the part is executed

      Parameters

      • Rest ...args: any[]

      Returns Promise<void>

id: string

ID of the part

init: undefined | ((artibot: Artibot) => Promise<void>)

The function executed on bot startup

Generated using TypeDoc v0.23.28