Documentation - v0.32.2
    Preparing search index...
    • Helper function to create a bot command object

      Parameters

      • command: string

        Bot command (without slash)

      • description: string

        Command description

      • Optionalparams: { ephemeral?: boolean }

        Additional parameters

        • Optionalephemeral?: boolean

          Whether the command should send an ephemeral message (visible only to the user who invoked it) instead of a regular one

      Returns RawBotCommand