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,7 +1,7 @@
import { userTimers } from "@/db/schema";
import { eq, and, lt } from "drizzle-orm";
import { DrizzleClient } from "@/lib/DrizzleClient";
import { KyokoClient } from "@/lib/BotClient";
import { AuroraClient } from "@/lib/BotClient";
import { env } from "@/lib/env";
/**
@@ -51,7 +51,7 @@ export const schedulerService = {
if (guildId) {
// We try to fetch, if bot is not in guild or lacks perms, it will catch
const guild = await KyokoClient.guilds.fetch(guildId);
const guild = await AuroraClient.guilds.fetch(guildId);
const member = await guild.members.fetch(userIdStr);
await member.roles.remove(roleId);
console.log(`👋 Removed temporary role ${roleId} from ${member.user.tag}`);