From 1be9ba23a3e12715f17d64049fa5d076ca9894cd Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Sat, 23 Nov 2024 17:20:47 +0000 Subject: [PATCH] Create base effects command --- src/commands/effects.ts | 15 +++++++++++++++ src/commands/effects/list.ts | 0 src/registry.ts | 2 ++ 3 files changed, 17 insertions(+) create mode 100644 src/commands/effects.ts create mode 100644 src/commands/effects/list.ts diff --git a/src/commands/effects.ts b/src/commands/effects.ts new file mode 100644 index 0000000..d52b3ce --- /dev/null +++ b/src/commands/effects.ts @@ -0,0 +1,15 @@ +import {CommandInteraction, SlashCommandBuilder} from "discord.js"; +import {Command} from "../type/command"; + +export default class Effects extends Command { + constructor() { + super(); + + this.CommandBuilder = new SlashCommandBuilder() + .setName("effects") + .setDescription("Effects"); + } + + public override async execute(interaction: CommandInteraction) { + } +} diff --git a/src/commands/effects/list.ts b/src/commands/effects/list.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/registry.ts b/src/registry.ts index e4e5d64..3be1fb8 100644 --- a/src/registry.ts +++ b/src/registry.ts @@ -7,6 +7,7 @@ import AllBalance from "./commands/allbalance"; import Balance from "./commands/balance"; import Daily from "./commands/daily"; import Drop from "./commands/drop"; +import Effects from "./commands/effects"; import Gdrivesync from "./commands/gdrivesync"; import Give from "./commands/give"; import Id from "./commands/id"; @@ -44,6 +45,7 @@ export default class Registry { CoreClient.RegisterCommand("balance", new Balance()); CoreClient.RegisterCommand("daily", new Daily()); CoreClient.RegisterCommand("drop", new Drop()); + CoreClient.RegisterCommand("effects", new Effects()); CoreClient.RegisterCommand("gdrivesync", new Gdrivesync()); CoreClient.RegisterCommand("give", new Give()); CoreClient.RegisterCommand("id", new Id());