SHClient and Interaction
SHClient Options
// These are the default values
{
commandsDir = 'commands', // Commands dir
showLogs = 'extra', // ('extra'|'normal'|null)
autoDelete = true, // Automatically deletes the Global commands if command files are not found
cLogs = false, // Console.log most of the promises
wrapper = false, /* Use this package as a wrapper
You may need to delete/register commands
using the create/delete methods*/
autoRegister = true, // Automatically registers commands accoring to the command files
exclude: ['file'] // Exclude a file from the command directory. Make sure you only put the file name.
}Interaction object
Properties
{
"type": 2,
"token": "A_UNIQUE_TOKEN",
"member": [Guildmember object],
"id": "786008729715212338",
"client": [Client object],
"guild": [Guild object],
"data": {
"options": [{
"name": "cardname",
"value": "The Gitrog Monster"
}],
"name": "cardsearch",
"id": "771825006014889984"
},
"channel": [Channel object]
}Message Property
Last updated
Was this helpful?