generated from lucxjo/template
Corrected a build error
Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
This commit is contained in:
parent
06e42b61e3
commit
a07e70e039
|
@ -12,6 +12,7 @@ import { prisma } from "../main.js";
|
||||||
export class Perks {
|
export class Perks {
|
||||||
@Slash({ description: "Manage your role" })
|
@Slash({ description: "Manage your role" })
|
||||||
async role(
|
async role(
|
||||||
|
interaction: CommandInteraction,
|
||||||
@SlashOption({
|
@SlashOption({
|
||||||
name: "name",
|
name: "name",
|
||||||
description: "Change the name of your role",
|
description: "Change the name of your role",
|
||||||
|
@ -23,9 +24,7 @@ export class Perks {
|
||||||
description: "Change the colour of your role (in hex)",
|
description: "Change the colour of your role (in hex)",
|
||||||
type: ApplicationCommandOptionType.String,
|
type: ApplicationCommandOptionType.String,
|
||||||
})
|
})
|
||||||
colour?: string,
|
colour?: string
|
||||||
channel: Channel,
|
|
||||||
interaction: CommandInteraction
|
|
||||||
) {
|
) {
|
||||||
const m = await prisma.member.findUnique({
|
const m = await prisma.member.findUnique({
|
||||||
where: {
|
where: {
|
||||||
|
|
Loading…
Reference in a new issue