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,