Search
Preparing search index...
The search index is not available
Yin Yang TS Documentation - v1.0.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Yin Yang TS Documentation - v1.0.0
Core
Handler
Commands
BaseCommand
Interface BaseCommand
The BaseCommand Interface
Hierarchy
BaseCommand
Implemented by
Command
Index
Properties
aliases
category
description
enabled
guild
Only
name
options
owner
Only
permission
usage
Methods
run
Normal
run
Slash
Properties
aliases
aliases
:
string
[]
category
category
:
CommandCategories
description
description
:
string
enabled
enabled
:
boolean
guild
Only
guild
Only
:
boolean
name
name
:
string
options
options
:
ApplicationCommandOptionData
[]
owner
Only
owner
Only
:
boolean
Optional
permission
permission
?:
PermissionLevel
usage
usage
:
string
Methods
run
Normal
run
Normal
(
ctx
:
CommandContext
)
:
Promise
<
void
>
Parameters
ctx:
CommandContext
Returns
Promise
<
void
>
run
Slash
run
Slash
(
ctx
:
SlashContext
)
:
Promise
<
void
>
Parameters
ctx:
SlashContext
Returns
Promise
<
void
>
Exports
API
Core
Client
Database
Discord
Handler
Commands
Errors
Event
Managers
Structure
Util
Dashboard
Base
Command
aliases
category
description
enabled
guild
Only
name
options
owner
Only
permission
usage
run
Normal
run
Slash
The BaseCommand Interface