Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk
SlashCommand
type
type SlashCommand<TId extends string = string, TResult = unknown> = RequiredArgumentSlashCommand<TId, TResult> | OptionalArgumentSlashCommand<TId, TResult> | BareSlashCommand<TId, TResult>
Import
import { SlashCommand } from '@modular/sdk';