From e991e00f325d003d68e8ac710c4ee8dfb4bdca4c Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Fri, 28 Oct 2022 15:25:58 +1100 Subject: Move src-slowcord to own repo https://github.com/MaddyUnderStars/slowcord-services --- src-slowcord/bot/src/index.ts | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src-slowcord/bot/src/index.ts (limited to 'src-slowcord/bot/src/index.ts') 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); -})(); -- cgit 1.5.1