Corrected a build error

Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
This commit is contained in:
Louis Hollingworth 2023-06-18 18:17:10 +01:00
parent 06e42b61e3
commit a07e70e039
Signed by: lucxjo
GPG key ID: A11415CB3DC7809B

View file

@ -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: {