i hyperfocused and here is v1

This commit is contained in:
Rose 2024-04-19 00:15:20 -04:00
parent 8f43e6a6a9
commit 4090fd621e
No known key found for this signature in database
34 changed files with 4135 additions and 22 deletions

15
apps/bot/src/main.ts Normal file
View file

@ -0,0 +1,15 @@
import "dotenv/config";
import { SapphireClient } from "@sapphire/framework";
import { resolve } from "node:path";
if (!process.env.DISCORD_BOT_TOKEN) {
throw new Error("DISCORD_BOT_TOKEN is not defined");
}
const client = new SapphireClient({
intents: [],
baseUserDirectory: resolve(import.meta.dirname),
});
client.login(process.env.DISCORD_BOT_TOKEN);