import { isMessageInstance } from "@sapphire/discord.js-utilities";
import { Command } from "@sapphire/framework";
export class CreateChannelsCommand extends Command {
public constructor(context: Command.LoaderContext, options: Command.Options) {
super(context, { ...options });
}
public override registerApplicationCommands(registry: Command.Registry) {
registry.registerChatInputCommand((builder) =>
builder
.setName("createChannels")
.setDescription("Will create individual channels for each player")
);
}
public async chatInputRun(interaction: Command.ChatInputCommandInteraction) {
console.log("test");
}
}
import { isMessageInstance } from "@sapphire/discord.js-utilities";
import { Command } from "@sapphire/framework";
export class CreateChannelsCommand extends Command {
public constructor(context: Command.LoaderContext, options: Command.Options) {
super(context, { ...options });
}
public override registerApplicationCommands(registry: Command.Registry) {
registry.registerChatInputCommand((builder) =>
builder
.setName("createChannels")
.setDescription("Will create individual channels for each player")
);
}
public async chatInputRun(interaction: Command.ChatInputCommandInteraction) {
console.log("test");
}
}