Objects
Here is the list of all Discord API supported objects :
Name | Type | Description |
---|---|---|
authorId | String | Returns ID of the user who triggered the command. |
channelId | String | Returns ID of the current channel. |
commandPrefix | String | Returns the value which was set in Command Trigger. |
message | String | Returns message content of the user who triggered the command. |
rolementions | Array of Strings | Returns an array of strings containing all mentioned role IDs. |
usermentions | Array of Strings | Returns an array of strings containing all mentioned user IDs. |