#ok

1 messages ยท Page 1 of 1 (latest)

white summit
#

ok well

#

what should i do, then..?

tawdry mural
#

Show me all ur code

#

Everything is relevent

#

๐Ÿ… ๐Ÿ…

white summit
#

from where to where
(also, no, it's not. a webserver implementation, and microsoft authentication code, has nothing to do with this)

tawdry mural
#

miss from start to end..

white summit
#

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

tawdry mural
#

Miss ur code should be working.

#

If u wont show mr

#

I cant help

white summit
#

i don't know why you keep saying miss but ok

tawdry mural
tawdry mural
white summit
#

yes, shroom

#

or just (you)

#

i don't know where you got the whole miss thing from

tawdry mural
white summit
#

it takes one trip to my about me to see they/them (agender)
it can't be that hard?

tawdry mural
#

Shroom about me is they/them

white summit
#

yes

#

and agender

#

so clearly not female?

tawdry mural
#

Ok LETTER_A IDFK WHAT IS A GENDER

white summit
tawdry mural
#

OK show me ur fucking code shroom

white summit
#

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

white summit
#

the relevant part is what i've already given to you - the connection code

tawdry mural
#

Im not gonna search it up.. again just show me it

#

Im on phone rn

#

So i cant

white summit
#
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);
tawdry mural
#

Are u sure DISCORD_AUTH_TOKEN isnt null

white summit
#

very certain, since i've defined it in my .env already

#

i can still check though

tawdry mural
#

Well idk really

white summit
#

yes, i logged it and it is indeed what i want it to be

tawdry mural
#

๐Ÿ‡ฆ i cant help

#

Bye miss

white summit