From a07e70e03912a5c12d01b7b45836bd69ade05866 Mon Sep 17 00:00:00 2001 From: Louis Hollingworth Date: Sun, 18 Jun 2023 18:17:10 +0100 Subject: [PATCH] Corrected a build error Signed-off-by: Louis Hollingworth --- src/commands/perks.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/commands/perks.ts b/src/commands/perks.ts index d56a704..a7c0a85 100644 --- a/src/commands/perks.ts +++ b/src/commands/perks.ts @@ -12,6 +12,7 @@ import { prisma } from "../main.js"; export class Perks { @Slash({ description: "Manage your role" }) async role( + interaction: CommandInteraction, @SlashOption({ name: "name", description: "Change the name of your role", @@ -23,9 +24,7 @@ export class Perks { description: "Change the colour of your role (in hex)", type: ApplicationCommandOptionType.String, }) - colour?: string, - channel: Channel, - interaction: CommandInteraction + colour?: string ) { const m = await prisma.member.findUnique({ where: {