Methods
(async) Changelog(client, message)
This command finds commits on github
Parameters:
Name | Type | Description |
---|---|---|
client |
Discord.Client | The client connection |
message |
Discord.Message | The message sent by the user |
- Source:
(async) Eval(client, message, args, extras)
This command evaluates javascript code
Parameters:
Name | Type | Description |
---|---|---|
client |
Discord.Client | The client connection |
message |
Discord.Message | The message sent by the user |
args |
Array | An array of arguments sent with the command |
extras |
object | Enmaps, databases and more |
(async) Help(client, message, args, commands)
This command shows the help prompt and lists the commands
Parameters:
Name | Type | Description |
---|---|---|
client |
Discord.Client | The client connection |
message |
Discord.Message | The message sent by the user |
args |
Array | An array of arguments sent with the command |
commands |
Enmap | The Enmap of commands in memory |
(async) Ping(client, message)
This command provides the speed of the connection to discord's servers
Parameters:
Name | Type | Description |
---|---|---|
client |
Discord.Client | The client connection |
message |
Discord.Message | The message sent by the user |
(async) Ram(client, message)
This command provides the ram usage of the process
Parameters:
Name | Type | Description |
---|---|---|
client |
Discord.Client | The client connection |
message |
Discord.Message | The message sent by the user |
(async) Reload(client, message, args, commands, events)
This command reloads an event or command
Parameters:
Name | Type | Description |
---|---|---|
client |
Discord.Client | The client connection |
message |
Discord.Message | The message sent by the user |
args |
Array | An array of arguments sent with the command |
commands |
Enmap | Commands enmap |
events |
Enmap | Events enmap |
(async) Shutdown(client, message)
Destroys the client and then exits the process
Parameters:
Name | Type | Description |
---|---|---|
client |
Discord.Client | The client connection |
message |
Discord.Message | The message sent by the user |
- Source: