AthenaShared.interfaces.messageCommand.MessageCommand ​
shared/interfaces/messageCommand.MessageCommand
Used to describe a command.
Interface
MessageCommand
Type parameters ​
| Name |
|---|
T |
Properties ​
callback ​
• callback: CommandCallback<T>
The function to call when this command is executed by a player, or internal function.
Defined in ​
shared/interfaces/messageCommand.ts:48
description ​
• description: string
A description of this command.
Defined in ​
shared/interfaces/messageCommand.ts:25
isCharacterPermission ​
• Optional isCharacterPermission: boolean
Should this command use character permissions instead of account?
Defined in ​
shared/interfaces/messageCommand.ts:41
name ​
• name: string
The plain text iteration of this command.
Defined in ​
shared/interfaces/messageCommand.ts:17
permissions ​
• permissions: string[]
An array of individual permission strings required to run this command.
V5 Docs