mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-30 07:20:08 +00:00
* Plugins/Permissions: FIX PARITY ISSUES What is parity issues? Parity issues are files that exist but structured one way in the base/vanilla discordeno library, and structured another way in the permisison plugin. * deno fmt * plugins/permissions: nuke validations * plugins/permissions VALIDATIONS -> plugins/validations * plugins/validations: slash commands max 4000 chars * fix module not found
561 B
561 B
validations-plugin
This is an official plugin maintained by Discordeno. This plugin provides automatic request checking and useful validation utility functions. Highly recommended to install this plugin for all users as you can use the utility functions.
Usage
// MOVE TO DEPS.TS AND USE SPECIFIC VERSION
import { enableValidationsPlugin } from "./deps.ts";
// Create the bot object, THIS WILL NEED YOUR OPTIONS.
const bot = createBot({});
// Enables the plugin on this bot
enableValidationsPlugin(bot);
// Start your bot
await startBot(bot);