Interface: EventOptions
Properties
event
• event: string
The discord.js event the new event should trigger on
name
• Optional name: string
The name of the new event
once
• Optional once: boolean
If the event should only run once or multiple times
Methods
run
▸ run(...args): any
The function to be called when the event is received
Parameters
| Name | Type |
|---|---|
...args |
any[] |
Returns
any