# Module: "structures/slash_command"
# Index
# Classes
# Interfaces
# Functions
# Functions
# getSlash
▸ getSlash(client: Client, postUrl: string, config: SlashConfig): Promise<SlashCommand>
Defined in src/structures/slash_command.ts:40 (opens new window)
# Parameters:
| Name | Type |
|---|---|
client | Client |
postUrl | string |
config | SlashConfig |
Returns: Promise<SlashCommand>