File Structure

Currently We support 2 sub-directors under events folder which are : client and guild. Basically "client" events are focused on the client like the ready event for example. "guild" events on the other hands are concerned with guild like messageEdit , messageDelete , messageCreate and so on.

Example :

Here all the guild events go under "guild" sub-directly and the client events go under "client".

Without the sub-directors :

This is an example of having all event files in the events folder without the sub-directories.

We recommend using the sub-directory approach as it makes the files look more organised.

Last updated