Skip to content
sern

DiscordEventControlPlugin

DiscordEventControlPlugin<T>(name, execute): Plugin<unknown[]>

Type parameters

T extends keyof ClientEvents

Parameters

name: T

execute

Returns

Plugin<unknown[]>

Since

2.5.0

Experimental

A specialized function for creating control plugins with discord.js ClientEvents. Will probably be moved one day!

Source

src/core/create-plugins.ts:58