# Class: SlashCommand
# Hierarchy
- SlashCommand
# Index
# Constructors
# Constructors
# constructor
+ new SlashCommand(client: Client, config: SlashConfig): SlashCommand
Defined in src/structures/slash_command.ts:30 (opens new window)
# Parameters:
| Name | Type |
|---|---|
client | Client |
config | SlashConfig |
Returns: SlashCommand