#Birbzie5025 no client srsly

1 messages · Page 1 of 1 (latest)

forest stone
#

ok @vivid bison here's the thread

vivid bison
#

Imao

#

I made a private one but I couldn't invite.

forest stone
#

bruh

#

anyway

#

send full bot code

vivid bison
#

Okay

#
const {token} = require('./config.json');

client.once('ready', () => {
    console.log('Ready!');
});

client.login('token');```
#

That's legit all what I have 🤣

real steppe
#

Discord.client

#

and also const client = new Discord.client({...}) is missing

vivid bison
#

😮

#

It's Lilly again ✨

forest stone
#

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')

vivid bison
#

awyo

forest stone
#

also replace const in token with let

real steppe
#

why let 🤔

forest stone
#

good question, i was told let is better

#

but i don't know why

real steppe
#

Let something be something else , but there its not the case , its constant , it doesnt change

forest stone
#

eh what could go wrong with using let?

real steppe
#

nothing really , just useless to change the const by a let in this scenario

forest stone
#

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

wet marlin
vivid bison
#

Kiter

#

It's you again, I see

wet marlin
#

what

vivid bison
#

What

forest stone
#

idc what it is

#

it might be a website integration thingy

#

just a thing

#

that counts them

wet marlin
#

nop

forest stone
#

ah nvm you can do it in devtools

vivid bison
#

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 🫡

forest stone
#

no

wet marlin
#

not bottom

forest stone
#

at the top

#

wait

wet marlin
#

just follow the djs guide

vivid bison
wet marlin
#

Doubt

forest stone
#
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

vivid bison
#

Okay

forest stone
#

also i am in 93 servers

forest stone
#

i just know how to help other ppl better ig

wet marlin
#

Xd good job with that

forest stone
#

idk i mean if we want answers ig we need to do a test

real steppe
#

by literally spoon-feeding them

wet marlin
forest stone
#

bruh that's what discordjs guide does

real steppe
#

not really , it gives basics example that works

forest stone
#

it gives you a link to the github repo

wet marlin
forest stone
#

you copy a working example bot

#

and done

#

ez

wet marlin
#

Thats not how the docs and guide work

forest stone
#

well for a basic bot yes

wet marlin
#

It teaches you the basics

forest stone
#

then to make your stuff after you copy the working example you read the docs

#

and you learn

#

but you use a spoonfed template

wet marlin
#

if you copy, you get the bot as its made. If you actually learn what it says you can do much more

wet marlin
#

So just dont

#

You may like it, but find another place to hang out and spoonfeed ppl

real steppe
forest stone
#

uhh what's this?

#

nvm

wet marlin
#

unban command

forest stone
#

yea i saw it

wet marlin
#

TS tho

#

sexy

forest stone
#

harder to read

wet marlin
#

for inexperienced devs yes

forest stone
wet marlin
#

A more stupid, if you insist on using stupid in a sentence at least make sure you properly spell the words in your sentence

wet marlin
#

If you dont know what youre talking about

forest stone
#

ghosted

wet marlin
#

Care

vivid bison
#

Kiter.

wet marlin
#

What

#

Just ask if you have a question

vivid bison
#

I have a question just for you.

#

@wet marlin

wet marlin
#

Then ask it

vivid bison
#

May you please stfu? :)

wet marlin
#

You have serious issues.

vivid bison
#

You do too

#

Imao

#

He left the thread! :)

forest stone
#

LMAO

#

lilly left too

vivid bison
#

Imao

#

Do you use Replit?

#

That's where I do my coding, I could invite you.

forest stone
#

not rn

vivid bison
#

Okay

#

You're coding to?

forest stone
#

ye

vivid bison
#

😮

#

Nice, nice

#

Dolphin