Class Bot

The Bot class.

Hierarchy

  • Client<true>
    • Bot

Constructors

  • The initialization of a new Bot.

    Parameters

    Returns Bot

Properties

commands: Map<string, BotCommand>

The commands of the bot.

data: BotData

The data collected from the data files in the data folder.

Methods

  • Inject data from the workspace files.

    Parameters

    • folder: string

      The path to the directory the json data files.

    Returns Promise<void>