refactor: rename bot client, environment variables, and project name from Kyoko to Aurora.

This commit is contained in:
syntaxbullet
2025-12-20 11:23:39 +01:00
parent 1f7679e5a1
commit 4229e5338f
10 changed files with 27 additions and 68 deletions

View File

@@ -2,7 +2,7 @@ import { createCommand } from "@/lib/utils";
import { SlashCommandBuilder, PermissionFlagsBits, EmbedBuilder, MessageFlags } from "discord.js";
import { configManager } from "@/lib/configManager";
import { config, reloadConfig } from "@/lib/config";
import { KyokoClient } from "@/lib/BotClient"; // Import directly from lib, avoiding circular dep with index
import { AuroraClient } from "@/lib/BotClient";
export const features = createCommand({
data: new SlashCommandBuilder()
@@ -31,7 +31,7 @@ export const features = createCommand({
const subcommand = interaction.options.getSubcommand();
if (subcommand === "list") {
const activeCommands = KyokoClient.commands;
const activeCommands = AuroraClient.commands;
const categories = new Map<string, string[]>();
// Group active commands
@@ -87,8 +87,8 @@ export const features = createCommand({
// Reload config from disk (which was updated by configManager)
reloadConfig();
await KyokoClient.loadCommands(true);
await KyokoClient.deployCommands();
await AuroraClient.loadCommands(true);
await AuroraClient.deployCommands();
await interaction.editReply({ content: `✅ Command **${commandName}** has been ${enabled ? "enabled" : "disabled"}. Commands reloaded!` });
}