import { Client, ClientMode } from "@buape/carbon"import CommandHandler from "~/server/discord/handler";
TypeError: Cannot read properties of undefined (reading 'Base')
import { Command, type CommandInteraction } from "@buape/carbon";import { db } from "~/server/db";export default class CommandHandler extends Command { name = "*" description = "CarbonCraft Command Handler" defer = false async run(interaction: CommandInteraction) { const command = await db.command.findFirst({ where: { botId: interaction.client.options.clientId, name: interaction.rawData.data.name } }) return interaction.reply({ content: command?.response }) }}