Type alias Handler<T>

Handler<T>: ((interaction: CommandInteraction, bot: Bot<T>) => Promise<void> | void)

Type Parameters

Type declaration

    • (interaction: CommandInteraction, bot: Bot<T>): Promise<void> | void
    • Parameters

      • interaction: CommandInteraction
      • bot: Bot<T>

      Returns Promise<void> | void

Generated using TypeDoc