#Birbzie5025 no client srsly
1 messages · Page 1 of 1 (latest)
Okay
const {token} = require('./config.json');
client.once('ready', () => {
console.log('Ready!');
});
client.login('token');```
That's legit all what I have 🤣
before client.once addjs let client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildInvites, GatewayIntentBits.GuildMembers, GatewayIntentBits.GuildPresences, GatewayIntentBits.GuildMessageReactions, GatewayIntentBits.GuildVoiceStates], partials: [Partials.User, Partials.Message, Partials.Reaction] }); and replace const Discord = require('discord.js'); with js let { CLient, GatewayIntentBits, Partials } = require('discord.js')
awyo
also replace const in token with let
why let 🤔
Let something be something else , but there its not the case , its constant , it doesnt change
eh what could go wrong with using let?
nothing really , just useless to change the const by a let in this scenario
btw has anyone made a discord selfbot or something that counts how many servers you are in?
not nesesericly a selfbot
just said that
just a thing that counts the servers you are in
Against TOS, dont ask about that here
what
What
idc what it is
it might be a website integration thingy
just a thing
that counts them
nop
ah nvm you can do it in devtools
let client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildInvites, GatewayIntentBits.GuildMembers, GatewayIntentBits.GuildPresences, GatewayIntentBits.GuildMessageReactions, GatewayIntentBits.GuildVoiceStates], partials: [Partials.User, Partials.Message, Partials.Reaction] });
This goes at very bottom 🫡
no
not bottom
just follow the djs guide
Dolphin is 10x better than that
Doubt
let { CLient, GatewayIntentBits, Partials } = require('discord.js')
let {token} = require('./config.json');
let client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildInvites, GatewayIntentBits.GuildMembers, GatewayIntentBits.GuildPresences, GatewayIntentBits.GuildMessageReactions, GatewayIntentBits.GuildVoiceStates], partials: [Partials.User, Partials.Message, Partials.Reaction] });
client.once('ready', () => {
console.log('Ready!');
});
client.login(token);```
you used 'token' instead of token
token is a variable
' is string
Okay
also i am in 93 servers
Xd good job with that
idk i mean if we want answers ig we need to do a test
by literally spoon-feeding them
i was gonna mention that
bruh that's what discordjs guide does
not really , it gives basics example that works
it gives you a link to the github repo
So dont reproduce it here and just link them
well for a basic bot yes
It teaches you the basics
then to make your stuff after you copy the working example you read the docs
and you learn
but you use a spoonfed template
if you copy, you get the bot as its made. If you actually learn what it says you can do much more
We dont like spoonfeeding.
So just dont
You may like it, but find another place to hang out and spoonfeed ppl
like this for exemple (speaking of much more )
sweet
unban command
yea i saw it
harder to read
for inexperienced devs yes
i have never ever in my life read a stupidest thing than this
A more stupid, if you insist on using stupid in a sentence at least make sure you properly spell the words in your sentence
and kindly shut up
If you dont know what youre talking about
ghosted
Care
Kiter.
Then ask it
May you please stfu? :)
You have serious issues.
not rn
ye