> For the complete documentation index, see [llms.txt](https://wessel.gitbook.io/yorushika/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wessel.gitbook.io/yorushika/configuration/managing-events.md).

# Managing events

This is how you enable/disable 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 %}
