Skip to content

createContext

createContext(options?): PluginContext

Defined in: plugins/holocron-plugin-discord/src/index.ts:50

Builds the plugin context from its options; the webhook URL, bot token and client secret are each resolved on first use.

DiscordPluginOptions = {}

PluginContext