Managing events
This is how you enable/disable events
Event Management
You can manage Wump's events in various ways, some of them are:
Deleting an event's file
Editing the enabled events inside of the configuration file
Deleting an event file
This is the simplest way to disable an event: by deleting it entirely. Although this is not recommended but it is an option, do as followed inside of the root directory:
#!/bin/bash
# Linux / Mac
rm -rf src/events/Discord/<event>
# Windows
del ./src/events/Discord/<event>
Editing the config
The best way is by editing the Discord.events
array inside of your configuration file, the syntax is as followed:
...
Discord:
...
events: # An array of all events to enable
- ready
- messageCreate
- guildMemberAdd
Last updated