Interface BotHandlers

Hierarchy

  • BotHandlers

Properties

Properties

oncommand?: ((command: string, args: any) => Promise<any>)

Type declaration

    • (command: string, args: any): Promise<any>
    • Parameters

      • command: string
      • args: any

      Returns Promise<any>

onjoin: ((collection: Collection, config: any) => Promise<BotSession>)

Type declaration

open?: (() => void | Promise<void>)

Type declaration

    • (): void | Promise<void>
    • Returns void | Promise<void>

Generated using TypeDoc