mirror of
https://github.com/sern-handler/awesome-plugins
synced 2026-06-25 09:12:19 +00:00
chore: update JavaScript plugins
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
import { controller, CommandControlPlugin } from "@sern/handler";
|
||||
export function serverOnly(
|
||||
guildId,
|
||||
failMessage = "This command is not available in this guild. \nFor permission to use in your server, please contact my developer."
|
||||
failMessage = "This command is not available in this guild. \nFor permission to use in your server, please contact my developer.",
|
||||
) {
|
||||
return CommandControlPlugin(async (ctx, _) => {
|
||||
if (ctx.guildId == null) {
|
||||
|
||||
Reference in New Issue
Block a user