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

@@ -1,5 +1,5 @@
import { Events, MessageFlags } from "discord.js";
import { KyokoClient } from "@/lib/BotClient";
import { AuroraClient } from "@/lib/BotClient";
import { userService } from "@/modules/user/user.service";
import { createErrorEmbed } from "@lib/embeds";
import type { Event } from "@lib/types";
@@ -32,7 +32,7 @@ const event: Event<Events.InteractionCreate> = {
}
if (interaction.isAutocomplete()) {
const command = KyokoClient.commands.get(interaction.commandName);
const command = AuroraClient.commands.get(interaction.commandName);
if (!command || !command.autocomplete) return;
try {
await command.autocomplete(interaction);
@@ -44,7 +44,7 @@ const event: Event<Events.InteractionCreate> = {
if (!interaction.isChatInputCommand()) return;
const command = KyokoClient.commands.get(interaction.commandName);
const command = AuroraClient.commands.get(interaction.commandName);
if (!command) {
console.error(`No command matching ${interaction.commandName} was found.`);