docker-ify? idk i didnt wanna install docker desktop so we'll see if this works once it hits the server

This commit is contained in:
2025-10-21 22:57:11 -04:00
parent 480de70b39
commit 8a442e0f0b
7 changed files with 17 additions and 129 deletions

View File

@@ -1,4 +1,4 @@
const config = require('./config.json');
const token = process.env.DISCORD_TOKEN
// the basic discord setup stuff yoinked from their guide
const { Client, Events, GatewayIntentBits, Partials } = require('discord.js');
@@ -17,7 +17,7 @@ const client = new Client({
client.once(Events.ClientReady, readyClient => {
console.log(`Discord: Connected as ${readyClient.user.tag}`);
});
client.login(config.token);
client.login(token);
client.on(Events.MessageCreate, message => {
// if we smell a twitter link, girlcock it!