Type alias ChatCommandExecutor

ChatCommandExecutor: ((message: Message) => Promise<void>)

Type declaration

    • (message: Message): Promise<void>
    • Interface for ChatCommand executors

      Parameters

      • message: Message

      Returns Promise<void>

Generated using TypeDoc