From 0cd0cda16854e71ad3b2ced1e75442267ab80b3d Mon Sep 17 00:00:00 2001 From: Nix Krystik Date: Mon, 31 Aug 2026 10:27:59 +0000 Subject: [PATCH] (commands): `/init` now preps the database. --- src/commands/admin/init.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/commands/admin/init.ts b/src/commands/admin/init.ts index 81e102e..25a1b60 100644 --- a/src/commands/admin/init.ts +++ b/src/commands/admin/init.ts @@ -1,5 +1,6 @@ import { Command, CommandBuilder, CommandClient, CommandInteraction, Constants, SlashCommand } from 'athena-prime'; import config from '../../config'; +import { database } from '../../utils'; // ---------- @@ -17,6 +18,8 @@ class InitCommand extends Command { ]; async #createInformationMessage(context: CommandClient, interaction: CommandInteraction) { + await database.init(); + await context.createMessage(interaction.channel.id, { embed: { color: 0xe77ed1,