Class CommandEvent
Special event
encapsulating MessageCreate's, containing specific Bot utilties
and functionality.
Inherits from
-
Object
(base class)
Constructors
Name | Description |
---|---|
this
|
Fields
Name | Type | Description |
---|---|---|
args
|
string[] |
Array of arguments |
cmd
|
CommandObject |
|
contents
|
string |
The message contents
|
event
|
MessageCreate |
|
msg
|
Message |
Properties
Name | Type | Description |
---|---|---|
cleanedContents
[get]
|
string |
Returns arguments as a single string |
mentions
[get]
|
ModelMap!(ulong,dscord.types.user.User) |
Returns mentions for this command, sans the bot
|
Methods
Name | Description |
---|---|
arg
|
|
has
|