Type Alias ClientEvent<Key>

ClientEvent<Key>: {
    data: ClientEventData<Key>;
    execute: ClientEventFunction<Key>;
}

Represents the full structure of an event file used by the bot.

Type Parameters

  • Key extends keyof ClientEvents

Type declaration