diff --git a/plugins/permCheck.ts b/plugins/permCheck.ts index 49d1a51..cdaa2a0 100644 --- a/plugins/permCheck.ts +++ b/plugins/permCheck.ts @@ -119,7 +119,7 @@ function subGroups(opts: BaseOptions[]) { } function subcommands(opts: BaseOptions[]) { - return CommandControlPlugin(async ({ ctx }) => { + return CommandControlPlugin(async (ctx) => { if (ctx.guild === null) { await ctx.reply({ content: "This command cannot be used in DM's!", @@ -163,7 +163,7 @@ function subcommands(opts: BaseOptions[]) { }); } function options(opts: BaseOptions[]) { - return CommandControlPlugin(async ({ ctx }) => { + return CommandControlPlugin(async (ctx) => { if (ctx.guild === null) { await ctx.reply({ content: "This command cannot be used in DM's!",