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:
4
index.js
4
index.js
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user