ホタル
ホタル
SIASapphire - Imagine a framework
Created by ホタル on 1/11/2023 in #sapphire-support
Duplicate identifier 'Command'
thanks
7 replies
SIASapphire - Imagine a framework
Created by ホタル on 1/11/2023 in #sapphire-support
Duplicate identifier 'Command'
I haven't even filled much in yet, but this is the code
import { Command } from "@sapphire/framework";

export class Ping extends Command {
public constructor(context: Command.Context, options: Command.Options) {
super(context, {
...options,
description: 'Latency'
})
}
public override registerApplicationCommands(registry: Command.Registry) {

}
}
import { Command } from "@sapphire/framework";

export class Ping extends Command {
public constructor(context: Command.Context, options: Command.Options) {
super(context, {
...options,
description: 'Latency'
})
}
public override registerApplicationCommands(registry: Command.Registry) {

}
}
7 replies