#ok
1 messages ยท Page 1 of 1 (latest)
from where to where
(also, no, it's not. a webserver implementation, and microsoft authentication code, has nothing to do with this)
miss from start to end..
no, not from start to end
1 - a good portion of it is genuinely irrelevant
2 - light hints of pii around the place that also doesn't make sense to put in .env
i don't know why you keep saying miss but ok

How should i call u? Shroom
Shroom you are multiple People so i thought shroom is woman
..?
it takes one trip to my about me to see they/them (agender)
it can't be that hard?
Shroom about me is they/them
Ok LETTER_A IDFK WHAT IS A GENDER
OK show me ur fucking code shroom
again, i'm not showing you all code, everywhere, as there are hints of pii from here to there and a good portion of it is not relevant
Ok show me the relevent part
the relevant part is what i've already given to you - the connection code
require('dotenv').config()
// Require modules needed for webserver and verification
const express = require("express");
const app = express();
app.set('view engine', 'ejs');
app.use(express.static('public'));
const bodyParser = require("body-parser");
app.use(bodyParser.urlencoded({ extended: true }));
const msal = require('@azure/msal-node');
const config = require('./config.json');
const { configuredGuilds, superUsers } = config
const { MongoClient, ObjectId } = require('mongodb');
const fetch = require('node-fetch')
``````js
// Require the necessary discord.js classes
const { Client, Intents } = require('discord.js');
// Create a new client instance
const client = new Client({ intents: [Intents.FLAGS.GUILDS] });
// When the client is ready, run this code (only once)
client.once('ready', () => {
console.log('discord.js is ready!');
});
// Login to Discord with your client's token
client.login(process.env.DISCORD_AUTH_TOKEN);
Are u sure DISCORD_AUTH_TOKEN isnt null
Well idk really
yes, i logged it and it is indeed what i want it to be
...