2026-02-25 10:46:15 +01:00
|
|
|
|
2025-08-19 17:00:01 +02:00
|
|
|
import init from "./initConfig";
|
|
|
|
|
|
|
|
|
|
init();
|
|
|
|
|
|
2026-02-25 10:46:15 +01:00
|
|
|
import client from "./bot";
|
|
|
|
|
|
|
|
|
|
// query TEST
|
|
|
|
|
import { db } from "./db/database";
|
|
|
|
|
import { count } from "drizzle-orm";
|
|
|
|
|
import { users } from "./db/schema";
|
|
|
|
|
import chalk from "chalk";
|
|
|
|
|
(async function () {
|
|
|
|
|
const uCount = await db.select({ count: count() }).from(users);
|
|
|
|
|
console.log(`Watching over ${chalk.bold(uCount)} users`);
|
|
|
|
|
})().then(() => { });
|
|
|
|
|
// END query TEST
|
|
|
|
|
|
2025-08-19 17:00:01 +02:00
|
|
|
client.login(process.env.TOKEN);
|
|
|
|
|
|