Skip to content
sern

Plugins

First time here? View plugins

confirmation

Asks the user for a confirmation msg before executing the command

fromCallback

fromCallback turns a callback into a plugin result. if the callback returns truthy value, plugin continues. This control plugin works for every command type. The arguments of the callback mirror…

disable

Disables a command entirely, for whatever reasons you may need.

subcommandPermCheck

Inspired by the plugin “requirePermission” created by Benzo-Fury & needhamgary, this plugin will set permissions for specific subcommands without manually writing it into the code.

buttonConfirmation

This is buttonConfirmation plugin, it runs confirmation prompt in the form of buttons. Note that you need to use edit/editReply in the command itself because we are already replying in the plugin!…

channelType

This plugin checks if a channel is the specified type

serverOnly

Checks if a command is available in a specific server.

assertFields

This plugin checks the fields of a ModalSubmitInteraction with regex or a custom callback

requirePermission

This is perm check, it allows users to parse the permission you want and let the plugin do the rest. (check bot or user for that perm).

publish

It allows you to publish your application commands using the discord.js library with ease.

dmOnly

This is dmOnly plugin, it allows commands to be run only in DMs.

ownerOnly

This is OwnerOnly plugin, it allows only bot owners to run the command, like eval.

nsfwOnly

This plugin checks if the channel is nsfw and responds to user with a specified response if not nsfw

permCheck

This is perm check, it allows users to parse the permission you want and let the plugin do the rest. (check user for that perm). Each function (other than “command”) allows multiple options! [ { …

filter

Generalized filter plugin. all credit to trueharuu. Perform declarative conditionals as plugins.

cooldown

Allows you to set cooldowns (or “ratelimits”) for commands, limits user/channel/guild actions. An extra function cooldown2 is exported if you want your cooldown to be local to the command.