Constructor
new Event(config, sourcePath)
- Source:
- See:
Initializes a new Event
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object | Event configuration object Properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||
sourcePath |
String | full path of Event source file |
Members
(static) guildCreate :Event
- Source:
- See:
Properties:
Name | Type | Description |
---|---|---|
guild |
external:Guild | discord.js Guild |
Adds a Guild
Type:
(static) guildDelete :Event
- Source:
- See:
Properties:
Name | Type | Description |
---|---|---|
guild |
external:Guild | discord.js Guild |
Removes a Guild
Type:
(static) guildMemberAdd :Event
- Source:
- See:
Properties:
Name | Type | Description |
---|---|---|
member |
external:GuildMember | discord.js GuildMember |
Type:
(static) guildMemberRemove :Event
- Source:
- See:
Properties:
Name | Type | Description |
---|---|---|
member |
external:GuildMember | discord.js GuildMember |
Type:
(static) process-monitor :Event
- Source:
- Tutorials:
Properties:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
handlerConfig |
Object |
Properties
|
|||||||||||||||
enableConfig |
Object |
Properties
|
|||||||||||||||
disableConfig |
Object |
Properties
|
Reports the memory and processor usage of the server's process along with its uptime and Discord stats
Type:
(static) rateLimit :Event
- Source:
- See:
Properties:
Name | Type | Description |
---|---|---|
info |
Object | discord.js rateLimitInfo object |
Logs rate limiting from Discord to the console when it occurs
Type:
(static) ready :Event
- Source:
- See:
Sets the id
for DiscordController and initializes the Guilds to which the bot is currently connected