# Managing events

## Event Management

You can manage Wump's events in various ways, some of them are:

1. Deleting an event's file
2. 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:

{% code title="delete.sh" %}

```bash
#!/bin/bash

# Linux / Mac
rm -rf src/events/Discord/<event>

# Windows
del ./src/events/Discord/<event>
```

{% endcode %}

### Editing the config

The best way is by editing the `Discord.events` array inside of your configuration file, the syntax is as followed:

{% code title="application.yml" %}

```yaml
...
Discord:
    ...
    events: # An array of all events to enable
        - ready
        - messageCreate
        - guildMemberAdd
```

{% endcode %}
