Objects

Here is the list of all Discord API supported objects :

NameTypeDescription
authorIdStringReturns ID of the user who triggered the command.
channelIdStringReturns ID of the current channel.
commandPrefixStringReturns the value which was set in Command Trigger.
messageStringReturns message content of the user who triggered the command.
rolementionsArray of StringsReturns an array of strings containing all mentioned role IDs.
usermentionsArray of StringsReturns an array of strings containing all mentioned user IDs.