Options
All
  • Public
  • Public/Protected
  • All
Menu

Standard File Handler Class

Hierarchy

  • Files

Index

Constructors

Properties

message: null | string

Methods

  • LoadFile(filePath: string, fileName: string, bot: BotClient): Promise<void>
  • Parameters

    • filePath: string
    • fileName: string
    • bot: BotClient

    Returns Promise<void>

  • Parameters

    Returns void

  • Load all files in a folder and gets them ready for the loadFile method

    static
    memberof

    Files

    Parameters

    • url: string

      The folder of files you want to load

    • bot: BotClient

      The BotClient object

    Returns void