From 026f5fb47fce656c45a9716610e729a256fff8c3 Mon Sep 17 00:00:00 2001 From: Matthew Date: Fri, 5 Apr 2024 20:12:22 -0400 Subject: [PATCH] add partner command to index and create Partner.ts command --- discord/commands/Partner.ts | 13 +++++++++++++ discord/commands/index.ts | 1 + 2 files changed, 14 insertions(+) create mode 100644 discord/commands/Partner.ts diff --git a/discord/commands/Partner.ts b/discord/commands/Partner.ts new file mode 100644 index 0000000..368f013 --- /dev/null +++ b/discord/commands/Partner.ts @@ -0,0 +1,13 @@ +import DiscordInteractionCommand from "../../util/DiscordInteractionCommand"; +import { ChatInputCommandInteraction } from "discord.js"; + +export default class Ping extends DiscordInteractionCommand { + constructor() { + super("partner", "Manipulates partner information."); + } + + public async execute(interaction: ChatInputCommandInteraction): Promise { + if (interaction.options?.getSubcommand(true) === "add") { + } + } +} diff --git a/discord/commands/index.ts b/discord/commands/index.ts index eefa235..be3f554 100644 --- a/discord/commands/index.ts +++ b/discord/commands/index.ts @@ -1,2 +1,3 @@ +export { default as Partner } from "./Partner"; export { default as Ping } from "./Ping"; export { default as Whois } from "./Whois";