summary refs log tree commit diff
path: root/src-slowcord/bot/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src-slowcord/bot/src/index.ts')
-rw-r--r--src-slowcord/bot/src/index.ts24
1 files changed, 0 insertions, 24 deletions
diff --git a/src-slowcord/bot/src/index.ts b/src-slowcord/bot/src/index.ts
deleted file mode 100644
index fa97313f..00000000
--- a/src-slowcord/bot/src/index.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import "dotenv/config";
-import Fosscord from "fosscord-gopnik";
-import Bot from "./Bot.js"; // huh?
-import { initDatabase } from "fosscord-server/src/util";
-
-const client = new Fosscord.Client({
-	intents: ["GUILD_MESSAGES"],
-
-	http: {
-		api: process.env.ENDPOINT_API,
-		cdn: process.env.ENDPOINT_CDN,
-		invite: process.env.ENDPOINT_INV,
-	},
-});
-
-const bot = new Bot(client);
-
-client.on("ready", bot.onReady);
-client.on("messageCreate", bot.onMessageCreate);
-
-(async () => {
-	await initDatabase();
-	await client.login(process.env.TOKEN);
-})();