#development

1 messages · Page 1508 of 1

sonic lodge
#

"not user.bucks is not null"

umbral zealot
#

yeah you're right lol

earnest phoenix
#

When there’s a error in the coding and I try to use the command it says there’s a bug it dosent tell what’s the error lol @umbral zealot

#

And this is the coding

fierce ether
#

same thing

earnest phoenix
lusty quest
#

use a proper IDE

umbral zealot
#

Yeah ok so here's the thing, pepoo.

earnest phoenix
#

Do you see something wrong?

umbral zealot
#

You have no idea what yo'ure doing

#

you're coding on mobile which is shit

earnest phoenix
#

ayy

umbral zealot
#

your errors are ALL being silently rejected by code you probably didn't write

earnest phoenix
#

how dare you say coding on mobile is shit

#

I did tho..

umbral zealot
#

We can't help you

earnest phoenix
#

I didn’t copy tho...

umbral zealot
#

So you wrote the code that says You found a bug! Please report it in the server | code ?

earnest phoenix
#

I’ve deleted all my copied codes

umbral zealot
#

the one that silently ignores errors? you wrote that?

fierce ether
#

whats the error?

earnest phoenix
#

@fierce ether it’s not showing any

#

@umbral zealot well me and my friend made it

umbral zealot
#

Because you've written code not to show any errors

earnest phoenix
#

No, if the codes not working it just says there a bug

umbral zealot
#

Well ask your friend that wrote this code to get off their ass and help you because we can't tell you what's wrong

#

Yeah that's the problem

fierce ether
#

so you have written code to ignore errors, and now you dont know where you wrote it?

#

but you def wrote it?

earnest phoenix
fierce ether
#

urm ok buddy

umbral zealot
#

javascript doesn't say "there's a bug" javascript literally outputs an error

#

unless you tell it not to

#

which clearly you've done, or your friend did

fierce ether
#

well for a start

earnest phoenix
#

But what the hell is the error?

umbral zealot
#

which is absolutely unhelpful in finding the error

#

We don't know what the error is

fierce ether
#

if(member.hasPermission)

umbral zealot
#

you'd have to tell us

fierce ether
#

is incorrect

earnest phoenix
#

@fierce ether why?

#

Ohhh that’s old

#

@fierce ether nope

#

that's correct

fierce ether
#

thats returning the message if they have it?

earnest phoenix
#

unless they've forgotten to declare the member variable

fierce ether
#

so if you dont have the permission it carrys on

earnest phoenix
#

Ohhh yeah I forgotten something I’m so dumb

#

@fierce ether thanks ima fix it

fierce ether
earnest phoenix
#

Now I see the problem

#

It’s

fierce ether
#

so your saying this is correct?

earnest phoenix
#

No

#

It’s wrong ima fix it

#

Also member is not declared anywhere

umbral zealot
#

That's what happens when you don't know javascript

earnest phoenix
#

You're probably looking for message.member

umbral zealot
#

you don't know you need to declare variables to use them

earnest phoenix
#

!message.member.hasPermission

umbral zealot
#

like member and guild

mellow kelp
#

And use a formatter or something

#

At the very least

earnest phoenix
#

It’s !message.member.hasPermission

#

Let me try

fathom slate
#

help me

solemn leaf
#

with @fathom slate

umbral zealot
#

You'd at least have a partial idea of what the issue was if your code wasn't ignoring errors

fierce ether
#

learn simple js and dont copy code before asking for help

fathom slate
#

I want to create an await in execute

solemn leaf
#

async

mellow kelp
#

Make execute async

fathom slate
#

that may not be ??

solemn leaf
#

show your line I can do

earnest phoenix
#

@fierce ether better?

fierce ether
#

async execute(paramaters)

umbral zealot
solemn leaf
#

^^

earnest phoenix
#

Yes yes ima fix it...

earnest phoenix
umbral zealot
#

we're still fucking handholding you through every single line of your code though @earnest phoenix

#

go learn javascript

fathom slate
earnest phoenix
#

Bruh I’m trying...

mellow kelp
#

You' re requiring discord 2 times bruh

umbral zealot
#

No you're not trying to do anything

fierce ether
umbral zealot
#

except get us to fix your problem for you

fathom slate
#

i want create in here

solemn leaf
#

@fathom slate so before execute

cinder patio
#

he's a help vampire

solemn leaf
#

make it asynced

umbral zealot
solemn leaf
#

^

fathom slate
#

oke i trying

solemn leaf
#

evie the command handler works well

umbral zealot
earnest phoenix
#

@umbral zealot you don’t fucking know what I’m doing are you me?

fierce ether
#

your copying code

stuck pike
#

Duh

umbral zealot
earnest phoenix
fierce ether
#

LMAO

earnest phoenix
#

What the fucj

gilded olive
#

Damn

earnest phoenix
#

Who is Tyler

umbral zealot
#

Don't be a Tyler.
A Tyler: "Karen's kid, the child that's been indulged his whole life, pampered, doesn't know the meaning of 'no' and has a hard time learning anything because they've always been spoonfed from birth."
Typical "Tyler" Behaviour includes:

  • "But I just need help with this one thing"
  • "I don't have time to learn"
  • "I'm just following a tutorial, and it doesn't work when I copy the code"
  • "What do you mean I need to learn JS? I know JS, I've been doing it for 10 minutes!"
gilded olive
#

🤣🤣🤣😭😭

fierce ether
#

noooo

stuck pike
fierce ether
#

im crying

stuck pike
#

And second of all don't copy pasta

cinder patio
#

Why Tyler though

earnest phoenix
#

Bruh

fierce ether
#

how can he be rude but he needs help?

crimson vapor
#

how do you react to a message using the api?

fathom slate
#

ohhh yeahhh

#

good job

umbral zealot
#

It's just a typical name for karen's kid, that's all 😂

fathom slate
#

thankkk so much @umbral zealot

earnest phoenix
crimson vapor
#

I keep getting Unknown Emoji

mellow kelp
crimson vapor
earnest phoenix
#

@umbral zealot so uh my parents are Karen’s and I’m the Karen’s kid???

stuck pike
#

Evie helped me a lot also

earnest phoenix
#

That’s what he said

stuck pike
#

Bruh

fierce ether
#

wow

earnest phoenix
molten yarrow
stuck pike
#

Lmao

gilded olive
fierce ether
#

😎

solemn leaf
#

@earnest phoenix dont be a smart ass

umbral zealot
#

Alright enough random reactions let's get back to helping people that need help, aight everyone?

stuck pike
#

Yea sure

earnest phoenix
fierce ether
#

sure

stuck pike
#

Uff

earnest phoenix
#

just to let you know, we're not tryna be disrespectful here we're just treating you how you're treating us

fathom slate
#

can you let me know MessageEmbed and RichEmbed any difference?

fierce ether
#

v11 to v12

umbral zealot
#

RichEmbed was d.js v11, you shouldn't use it anymore.

earnest phoenix
umbral zealot
#

just use MessageEmbed instead, same thing

solemn leaf
#

Discord.MessageEmbed() is v12

earnest phoenix
fathom slate
#

oh

solemn leaf
#

its the same constructor as v11

earnest phoenix
#

You guys just get pissed when I ask for help bruh...

stuck pike
#

Bruh

fierce ether
#

when you coppying code

fathom slate
#

can replace MesageEmbed and RichEmbed ??

solemn leaf
#

pep

mellow kelp
#

Youre not asking for help

solemn leaf
#

go in my dms

#

tell the problem

stuck pike
mellow kelp
#

Youre asking for spoonfeeding

solemn leaf
#

ill walk you through it

#

then block you

fierce ether
#

if you knew how to code, you wouldnt need help on how to define member, guild

stuck pike
#

@mellow kelp he asking for copy pasta code

fathom slate
earnest phoenix
#

@mellow kelp how tf is it spoon feeding when I say why is this showing error when there is no damn fucking error

stuck pike
#

@fathom slate because it worked on older DJs version

mellow kelp
#

You want us to tell you exactly what's wrong

cinder patio
#

because that's all you do. You can't figure anything on your own because you don't know javascript. We are helping you by telling you to learn basic javascript because once you have the building blocks you won't be asking dumb questions like "where do I put X code, do I put it after or before this line"

stuck pike
#

Lmao

earnest phoenix
#

I want to build lego without blocks

earnest phoenix
solemn leaf
earnest phoenix
solemn leaf
#

documents are kinda pog

mellow kelp
#

Ye

stuck pike
#

Pog

umbral zealot
earnest phoenix
#

Uh I uh swear a lot tho

stuck pike
#

:pogey:

solemn leaf
#
-somethings you can find the code you need there on the document
stuck pike
#

Age*

earnest phoenix
#

Agr?

mellow kelp
#

Angery

earnest phoenix
#

14

umbral zealot
#

Alright let's please stop responding to this kid, other people might need help and we're just spamming the channel with these pointless arguments.

stuck pike
solemn leaf
#

@earnest phoenix what lang

earnest phoenix
#

Bruh

mellow kelp
#

Thats not understandable lmao

#

Im 14 too

fierce ether
#

read rule 8 a @earnest phoenix

stuck pike
#

I m 14 too @mellow kelp

#

Duh

earnest phoenix
sudden geyser
#

Help yourself before we can help you.

umbral zealot
#

This error is indicating shards are taking a while to load

solemn leaf
#

language

mellow kelp
#

At age 14 one should have some knowledge of how to learn dont you think

solemn leaf
#

package

earnest phoenix
#

d.js

solemn leaf
#

kk

stuck pike
#

But he is a spoilt brad

solemn leaf
#

can we see code of your manager

#

bros chill I wasnt gonna steal

fierce ether
#

@earnest phoenix your trying to do an action before spawning has finished

earnest phoenix
umbral zealot
#

That's a Programmer Karen move right there 😂

earnest phoenix
#

@stuck pike says the guy with a full gaming setup, with a pc, with nitro, and me just got my iPad so how am i spoiled?

#

?????

earnest phoenix
solemn leaf
#

@earnest phoenix here is the thing

#

your 14

mellow kelp
#

Whoa spamming emojis

solemn leaf
#

get a fucking job

stuck pike
#

And plus I bought my own nitro from selling bots

solemn leaf
#

then you have a right to have those things

stuck pike
#

Hard work

fierce ether
#

more then likely, <client>.login

umbral zealot
#

@solemn leaf @stuck pike please stop responding to him, ignore him.

earnest phoenix
#

@stuck pike but how can you call me spoiled then?

earnest phoenix
stuck pike
#

Ok sure

earnest phoenix
#

@solemn leaf I do fucking have a job

crystal wigeon
#

anyone knopw about node-resque?

earnest phoenix
#

His not your god listening to him like slaves...

umbral zealot
fierce ether
#

idk your code structure

solemn leaf
#

is it a npm?

stuck pike
crystal wigeon
#

im trying to set up my discord bot with node resque but kinda confused with the initial stages

stuck pike
crystal wigeon
#

@umbral zealot

earnest phoenix
earnest phoenix
solemn leaf
fierce ether
#

its a background for redis

umbral zealot
#

Ok so what are you doing, what's your issue, what have you tried, what's not working?

#

needs more details for your question

crystal wigeon
#

i know the package, but im trying to get it to start

#

like the inital set up

#

the explanation is confusing

fierce ether
stuck pike
#

Yea read this

umbral zealot
#

Do you have a redis server up and running?

solemn leaf
#

@crystal wigeon you want to make a project?

#

like a node project

#

to use npm and stuff?

crystal wigeon
#

i wanna add those jobs and workers to my nodejs project

solemn leaf
#

jobs and workers?

umbral zealot
#

Right. The question was: Do you have a redis server up and running?

earnest phoenix
#

What?

#

Uh guys

earnest phoenix
#

Yea I think he meant that @earnest phoenix

#

thats my main file

#

Ping him

crystal wigeon
#

so i wanted to know about the inital set up, like there's a snippet jobs = { action: some action } do i define all my functions in this form?

solemn leaf
#

okay and the error is that it doesnt stop spawnning

crystal wigeon
#

soprry my wifi was ded

crystal wigeon
umbral zealot
crystal wigeon
#

yeah

umbral zealot
#

Ok if you don't have redis

#

you can't use this

crystal wigeon
#

im cinfused about the subtract and add

umbral zealot
#

it's literally made FOR redis

#

won't work without it

crystal wigeon
#

if i have a func called something and anotherthing

#

do i define both in that jobs?

earnest phoenix
#

WAIT WAIT WAIT WOAH

crystal wigeon
#

so if i have multiple funcs in diff folders i have to write that snippet everywhere?

earnest phoenix
#

Did my bot get accepted LEMME CHECK

crystal wigeon
#

i mean yeah makes sense to have redis

umbral zealot
#

I've never used this thing so I can only go by what's in the readme, and as far as I can tell, it's pretty easy to setup - assuming your complex redis setup is done lol.

earnest phoenix
umbral zealot
#

If you do'nt have redis though you could (and should) use Worker Threads instead

crystal wigeon
#

i have redis chill lol

earnest phoenix
#

@earnest phoenix you're not greenname so it's not accepted

sudden geyser
#

throwing non-errors 🤢

crystal wigeon
#

i just wanted to know how do i put my funcs in the worker jobs

earnest phoenix
#

@earnest phoenix I mean like freshly check #logs

#

It can ping my bot for some reason uh

#

check mod log instead

#

it has the reason for decline

crystal wigeon
#

"subtract" is the func name and it has a "perform" in it

#

so i have to add this in all my fuctions?

solemn leaf
#

I see declined

umbral zealot
#

as far as I can tell, yes every function needs the perform, that's most likely what the thread actually runs when you call it

earnest phoenix
#

@solemn leaf that was old

solemn leaf
earnest phoenix
#

That’s from

#

12/14/202

solemn leaf
#

nothing says that you were approved

umbral zealot
#

well the only thing that happened to day was you edited your bot page.

#

nothing else

earnest phoenix
#

Yea but ohhhh

#

I can only see my bot

umbral zealot
#

yes and only you can see it

crystal wigeon
#

okie thanks a lot!

solemn leaf
#

yeah bcs its in your cache

umbral zealot
#

well you and bot reviewers

solemn leaf
#

its not in ours

crystal wigeon
#

i was going to do the redis pubsub manually

#

which was a lot more harder to write the queues

#

node resque to the rescue!

dusky sundial
#

You'll get a DM from @gilded plank if your bot gets approved

solemn leaf
#

@umbral zealot that is how it works right?

umbral zealot
#

This package looks very useful - I mean, it would if I used any of this stuff. 😂

earnest phoenix
#

@dusky sundial I remember when my bot was denied lol

#

I was so sad

solemn leaf
#

my power went out when I was gone

umbral zealot
crystal wigeon
#

you know whats hot about a girl?

#

she can code

#

HAHAHAHA

#

thanks peeps

sterile lantern
#

what would happen if someone sharded at 2 servers

earnest phoenix
#

Lol whaaaa

solemn leaf
#

I thought if you had it in your cache you could see it

#

like if your in a server if it

umbral zealot
solemn leaf
#

and you load it to get the api request for it

earnest phoenix
#

Damn I’ve waited so long for my bot still not being tested

sterile lantern
#

oh damn

crystal wigeon
#

ti took me 4 tries to get approved

#

it took them 4 tries to figure out my bot command has a space

solemn leaf
#

My bot followed the rules

crystal wigeon
#

😂

solemn leaf
#

its the fact that it was offline

dusky sundial
#

Just make sure the bot is functional, follows the rules and won't go offline before submitting it ¯\(シ)

stuck pike
#

bruh he is still here

earnest phoenix
#

Btw I’ve seen many bots break the rules, how do they work lmao?

#

Like uh

crystal wigeon
#

you know whats hot about a girl?

stuck pike
#

;-;

earnest phoenix
#

Get verified or approved

crystal wigeon
#

she can guide like @umbral zealot

#

idk if she girl or trap xD

#

anyways thanks!

umbral zealot
#

yo don't be insulting.

crystal wigeon
#

thats not insult ;-;

dusky sundial
#

You can still get your bot verified by discord even if it's not on top.gg

crystal wigeon
#

compliment

solemn leaf
#

yeah @dusky sundial

earnest phoenix
#

@dusky sundial wait how?

#

How’s that possible

crystal wigeon
#

scam

earnest phoenix
#

i found the problem

solemn leaf
#

but if it wasnt able to get on top.gg you might wanna edit your bot a bit @dusky sundial

umbral zealot
#

"girl or trap" is a horrifying insult and it's also extremely demeaning and intolerant, you sock muppet.

stuck pike
#

like?

earnest phoenix
#

Lol

crystal wigeon
#

uwu

#

im jk

dusky sundial
solemn leaf
#

yes sir

#

or mam

earnest phoenix
#
const promises = [
            await this.client.shard.fetchClientValues('guilds.cache.size'),
            await this.Dclient.shard.broadcastEval('this.guilds.cache.reduce((acc, guild) => acc + guild.memberCount, 0)'),
        ];

I have this on my ready event but where do i place them to get the total of guilds i have on my server to display on my bot?

crystal wigeon
umbral zealot
earnest phoenix
#

Okie

solemn leaf
#

evie is 20% cooloer rn

opal plank
#

get rid of the competition

dusky sundial
#

Getting your bot in 75+ servers is enough to possibly get it verified. Which is possible without top.gg

opal plank
opal plank
#

75 you can start verificaiton

sterile lantern
#

75

dusky sundial
#

Pretty sure it's 75, but they might've changedit

#

yea ^^

stuck pike
#

mine is in 40 servers rn

umbral zealot
opal plank
#

100 is the limit of servers you can reach without verification

grizzled raven
#

download more servers

earnest phoenix
#

Mines in 99

#

Lol jk

opal plank
#

i got 110 servers in 3 days, i still dunno wtf is going on

earnest phoenix
#

My friends in 400k servers

solemn leaf
#

@dusky sundial its 75 when you can verify but if you go to 100 you cant join anymore servers until it is verified

earnest phoenix
#

@opal plank damn like you didn’t even do anything?

#

No?? should i be using promises?

stuck pike
opal plank
#

nah, its just growing that quick now

solemn leaf
#

no erwin bot just good

earnest phoenix
#

@stuck pike what’s bruh about it

grizzled raven
#

mine is dropping like 700 servers a month mmLol

opal plank
earnest phoenix
#

@opal plank what’s the uh bot about?

opal plank
#

Genshin impact

stuck pike
solemn leaf
#

lerwin

#

thats new

opal plank
#

lul

dusky sundial
#

If a bot is well made and interesting people will wanna add it to their server, simple as that

earnest phoenix
opal plank
#

true true

earnest phoenix
#

Some 448k or something

stuck pike
dusky sundial
#

I'm happy enough about mine that's in 2k lol

stuck pike
#

mine is 40 jajaja

earnest phoenix
#

It’s a French bot let me try to find him @stuck pike

opal plank
#

this whole bot has been riding on its own trend wave. As soon as i put it to public, it took 5 days to reach 75 servers from 0. After verification it took 8 days to get 300, and now took 3 to get to 400

stuck pike
#

bruh are u god or wot

dusky sundial
#

That's really good for such a small amount of time

gilded olive
#

That sounds like a good path

opal plank
#

im still amazed by how fast its growing

gilded olive
#

1k in 2 weeks

dusky sundial
#

^^

grizzled raven
#

my bot was growing very fast due to its name, which was its feature

opal plank
#

hopefully thats what happens, im seeing a general 25-35 servers a day

earnest phoenix
grizzled raven
#

now i have to take it down for a little while which turned into 3 months

stuck pike
#

lol

opal plank
earnest phoenix
grizzled raven
#

and it's lost a quarter of its servers bigbrain

earnest phoenix
#

Do you guys know him?

#

I dont

#

Why

stuck pike
earnest phoenix
#

@stuck pike I’m not sure what bot it is

opal plank
#

grab user id

stuck pike
#

then how u know its in 400k servers

earnest phoenix
#

He told me

opal plank
stuck pike
opal plank
#

get that person's id and thats it

stuck pike
#

yea

earnest phoenix
#

Alr

opal plank
stuck pike
earnest phoenix
#

Wtf

dusky sundial
earnest phoenix
#

He lied then...

stuck pike
#

some more days

stuck pike
opal plank
#

its barely in 3k, much less 400k

earnest phoenix
#

Aw man why would he do hat

#

That*

stuck pike
#

its not evem fraction of 400k

earnest phoenix
#

Block them for lying

#

kek

stuck pike
gilded olive
opal plank
#

guys my bot in 600k servers

gilded olive
#

loggers

stuck pike
#

yea

#

i was rejected

#

due to it was off

opal plank
#

-needsgoodhosting

mellow kelp
#

Fax

earnest phoenix
#

@stuck pike isn’t it online 24/7?.

stuck pike
mellow kelp
#

But at least now we got the progresss bar

stuck pike
earnest phoenix
#

LOL, why?

opal plank
#

OOF

stuck pike
#

not have a good hostinf

#

hosting

earnest phoenix
#

What ya use?

stuck pike
#

150 mb hosting

opal plank
#

heroku/glitch incoming

stuck pike
#

for 15k users

mellow kelp
#

Lmao

stuck pike
#

and 40 servers

mellow kelp
#

I guess that works fine

earnest phoenix
#

@stuck pike he has 2 bots

opal plank
#

luckily i found my memory leak, but mine is using 2gb for 200k users and 400 servers (WHICH IS NOT NORMAL AT ALL)

#

i'll patch the mem leak next update

mellow kelp
opal plank
#

i got 126gb of room to spare

earnest phoenix
#

I got uh I’m iPad so 1 gb to spare

stuck pike
earnest phoenix
#

Lol

opal plank
earnest phoenix
#

Lol jk I got 126

#

And I’ve used

#

Uh

#

48

#

Wtf

opal plank
#

im using 19gb out of 126

#

the bot is using 2gb

earnest phoenix
#

You’re pc has 126 total gb @opal plank

opal plank
earnest phoenix
#

?

stuck pike
opal plank
#

its not a pc, its a proper vps

earnest phoenix
#

Lol

opal plank
#

actually i dont think its even a vps, its the whole cluster rack iirc

earnest phoenix
#

@stuck pike calls keeds

cerulean tulip
#

My need help

#

Pls

#

Help me

stuck pike
solemn leaf
#

ok I have tried lots of things stringify, tostring, itself and nothing is working

let user = message.member, n = user.presence.activities.find((a) => a.name === 'osu!'); message.channel.send(n);
earnest phoenix
opal plank
#

yeah, its the whole rack, not only the vps

earnest phoenix
#

Uh you

opal plank
earnest phoenix
#

She has dmd me with alts before too

stuck pike
#

she has lol

earnest phoenix
#

Prob he lol

opal plank
#

@drowsy crag it seems like it wasnt only me they dm'd, going around talking to random people

stuck pike
#

wtfffff

solemn leaf
#

LOL

earnest phoenix
#

Holy wtf

#

LMAO

stuck pike
#

wtf

earnest phoenix
#

LMFAOOFOOFOFOFF

stuck pike
#

lmfao

earnest phoenix
#

lfmoaooo

solemn leaf
#

@ember atlas

stuck pike
#

@ember atlas

#

some problem here

ember atlas
#

hi

stuck pike
#

lol

opal plank
#

i had already reported this to nom

solemn leaf
opal plank
#

but it was a one case incident

ember atlas
#

-b @cerulean tulip gross

gilded plankBOT
#

dblMod Banned Avaliza#8521 (@cerulean tulip)

opal plank
#

they werent banned, for some reason

stuck pike
#

lol

solemn leaf
#

LOL

ember atlas
opal plank
#

ty boss

stuck pike
#

lmfao

earnest phoenix
#

LOL

stuck pike
#

ye boss op

earnest phoenix
#

LMFOAOOFODKSISIDKDISKEJDILDS

ember atlas
#

np ping if you have anymore issues

earnest phoenix
stuck pike
solemn leaf
neat harness
#

My bot is crashing, with Missing Permissions Error, though it has permissions, as stated... Is it because of the channel overwrites? How can I detect channel overwrites?

if (
  !message.guild.me.permissions.has(["SEND_MESSAGES", "READ_MESSAGE_HISTORY"])
  && !message.guild.me.permissions.has('ADMINISTRATOR')
) return;
console.log(message.guild.me.permissions.has(["SEND_MESSAGES", "READ_MESSAGE_HISTORY"]))
```The result on the log is true right before emitting the error of it not having permissions
```xl
true

/home/kayuimineko/NekoNeko/node_modules/discord.js/src/rest/RequestHandler.js:154
      throw new DiscordAPIError(request.path, data, request.method, res.status);
            ^

DiscordAPIError: Missing Permissions
    at RequestHandler.execute (/home/kayuimineko/NekoNeko/node_modules/discord.js/src/rest/RequestHandler.js:154:13)
    at processTicksAndRejections (node:internal/process/task_queues:93:5)
    at async RequestHandler.push (/home/kayuimineko/NekoNeko/node_modules/discord.js/src/rest/RequestHandler.js:39:14) {
  method: 'post',
  path: '/channels/797092671944392735/messages',
  code: 50013,
  httpStatus: 403
}
solemn leaf
#

I check for that stuff in my index @neat harness

#

but why is it pointing to the new

#

Im assuming its pointing to the res.status? or data

neat harness
#

I think its channel overwrites

neat harness
solemn leaf
#

ok

neat harness
#

It's the Missing Permissions part that we need to know

opal plank
#

too lazy to explain it, use that

stuck pike
neat harness
opal plank
#

yes

neat harness
#

Got it thx

opal plank
#

yw

neat harness
#

Also, what you did was spoonfeeding

stuck pike
neat harness
#

lmao

opal plank
#

im well aware

#

check docs if you want more info

#

which you should

neat harness
stuck pike
#

Docs are best

opal plank
#

if i do any more than that i'd be coding for you, so anything past what i wrote, check the docs

stuck pike
neat harness
opal plank
#

mp

#

np*

solemn leaf
#

go on the dev portal to find the permissions

neat harness
earnest phoenix
#

@neat harness lmao administrator

stuck pike
solemn leaf
neat harness
#

Wrong channel nvm

opal plank
#

i saw that

neat harness
#

lmao

#

Great eyes

stuck pike
#

lol

opal plank
#

squinty eyes

solemn leaf
earnest phoenix
solemn leaf
#

erwin

opal plank
#

sup

stuck pike
solemn leaf
#

can you help me find osu in my activities

opal plank
#

i guess

solemn leaf
#
let user = message.member, n = user.presence.activities.inludes((a) => a.name === 'osu!'); console.log(user.presence);
stuck pike
#

looks good

opal plank
#

dont use that

stuck pike
#

whats the erorr

solemn leaf
#

ok

opal plank
#

use includes() or startsWith()

#

also, isnt Osu upper case?

solemn leaf
#

osu is directed as being lower case in the thing

opal plank
#

hmmmm im not sure about rich presence

#

console.log your presences

stuck pike
earnest phoenix
#

@solemn leaf user for member 🤮

#

each game has its own id

#

you should detect via id

#

*snowflake

#

so... an id

#

it's because rich presence is linked to the discord application on the developer portal

opal plank
#

which ends up being the same as what Aki is doing

#

though im aware its not the proper way it should be done

solemn leaf
#

?

stuck pike
solemn leaf
#

I can find the rich pres file

opal plank
#

file?

#

its not in a file

earnest phoenix
solemn leaf
#

how do I get the game id

earnest phoenix
#

log your activites and you'll see the applicationID set

pale vessel
#

It's 367827983903490050

earnest phoenix
#

That’s alazya or something

solemn leaf
#

flazee

pale vessel
#

what

solemn leaf
#

thankss

opal plank
#

whats that?

earnest phoenix
#

The pedophile

#

Lol

solemn leaf
#

ok

#

we got the id

#

367827983903490050

neat harness
#

@opal plank I tried, it's not working for some reason

if (
  (!message.guild.me.permissionsIn(message.channel.id).has("SEND_MESSAGES")
  && !message.guild.me.permissions.has('ADMINISTRATOR'))
  || (!message.guild.me.permissions.has("SEND_MESSAGES")
  && !message.guild.me.permissions.has('ADMINISTRATOR'))
) {
  const string = "BotPermissionsError: The bot does not have permission to Send Messages in That Channel";
  const embed = Essentials.constructNoticeEmbed(client, "alert", string);
  return message.author.send(embed).catch(err => Essentials.log(client, err));
}
try {
  await command.execute(
    client, command, message, args, auth, channel, guild
  );
} catch (err) {
  Essentials.log(client, err)
}
earnest phoenix
#

791240847828058112

opal plank
#

well yeah but what is going on with that

earnest phoenix
#

Europe/Copenhagen I live there not him btw

opal plank
#

probably NOT a good idea to spread that btw

#

report to discord directly

#

oh

earnest phoenix
#

Alr lol

opal plank
#

nvm, misread

earnest phoenix
#

LOL

stuck pike
#

lol

earnest phoenix
opal plank
#

i thought you got his location somehow

earnest phoenix
#

I can get it if you want

#

@opal plank

solemn leaf
#

hey guys my wan ip is 367827983903490050

opal plank
#

only on the first one

stuck pike
#

lol

neat harness
opal plank
#

thats one

neat harness
opal plank
#

what about the rest?

solemn leaf
#

cant you do

neat harness
opal plank
#

you have 4 checks

solemn leaf
opal plank
#

and you only changed one

solemn leaf
#

or is it

#

yeah its that

neat harness
solemn leaf
#

cant send messages if you cant see channels

#

can you?

opal plank
#

thats cuz your if is wrong

stuck pike
#

lol

opal plank
#

its ur logic thats wrong, not your method

neat harness
#

If the bot doesn't have admin and permission to send in the channel
then check if the bot has and overall permission or admin
If so, the return an error to the user's dm

earnest phoenix
solemn leaf
#

@stuck pike ok we got the games id

earnest phoenix
solemn leaf
#

wolf kid

opal plank
#

! turns into false

solemn leaf
#

your mom pretty hot

opal plank
#

you are PASSING on false

solemn leaf
#

@neat harness here fix !!mess...

earnest phoenix
neat harness
stuck pike
solemn leaf
#

https://wolfkid.has-a-hot.mom/qvBCBs.png

#

what

#

just stating facts

pale vessel
#

lmao that looks like sxcu

opal plank
earnest phoenix
#

wolfkid has a thicc mom
fax

opal plank
#

like, actually ?

stuck pike
#

looooooooooooooooooool

earnest phoenix
#

guys can we not get distracted pls :D

solemn leaf
#

flaze

opal plank
#

ìf(bot doesnt have permissions to send message) send message

neat harness
opal plank
#

thats literally what you are doing dude

earnest phoenix
solemn leaf
#

were you able to get the presence of osu @pale vessel

neat harness
opal plank
#

what if they are blocked?

earnest phoenix
#

dont send anything

solemn leaf
#

then do

neat harness
solemn leaf
#

try {
member.send()
} catch

opal plank
#

like i mentioned, if you getting missing permissions, that means you are still sending the message on a channel

pale vessel
neat harness
#

Also, the issue with the permissions is on the channel as stated in the error not dm

earnest phoenix
#

sending to dm is inconvenient for both the bot and the user

neat harness
#

It's like 300 lines long

earnest phoenix
#

if (message.guild.me.cantSpeak) return DROP table guild;

solemn leaf
#

@pale vessel it was example I need help with finding osu's presence

opal plank
#

if(!message.guild.me.permissionsIn(message.channel.id).has('SEND_MESSAGES')) is all you need realistically

pale vessel
#

hmm?

#

member.presence.activities.find(x => x.applicationID === "ID")

earnest phoenix
solemn leaf
#

ok

earnest phoenix
#

can someone help me with the Sharding stuff?

earnest phoenix
solemn leaf
#

lol

#
            request.post('https://infinitybotlist.com/api/bots/444463875908304901')
                .set('Authorization', infitok)
                .send({ servers: guilds })
                .then(() => console.log('Posted to infilist.'))
                .catch((e) => console.error(e.message));
            request.post('https://top.gg/api/bots/444463875908304901/stats')
                .set('Authorization', topgg)
                .send({ server_count: guilds })
                .then(() => console.log('Posted to topgg.'))
                .catch((e) => console.error(e.message));
            // top.gg
            request.post('https://discord.boats/api/bot/444463875908304901')
                .set('Authorization', dbk)
                .send({ server_count: guilds })
                .then(() => console.log('Posted to dbk.'))
                .catch((e) => console.error(e.message));
            // discord. boats
            request.post('https://botsfordiscord.com/api/bot/444463875908304901')
                .set('Authorization', bfd)
                .send({ server_count: guilds })
                .then(() => console.log('Posted to bfd.'))
                .catch((e) => console.error(e.message));
            // discord
            request.post('https://discord.bots.gg/api/v1/bots/444463875908304901/stats')
                .set('Authorization', dbgg)
                .send({ guildCount: guilds })
                .then(() => console.log('Posted to dbgg.'))
                .catch((e) => console.error(e.message));
            // discordbotlist
            request.post('https://discordbotlist.com/api/v1/bots/444463875908304901/stats')
                .set('Authorization', dbl)
                .send({ guilds: guilds, users: members })
                .then(() => console.log('Posted to dbl.'))
                .catch((e) => console.error(e.message));
        }, 410000);
pale vessel
earnest phoenix
#

callback hell

pale vessel
#

you can change it to .js

opal plank
earnest phoenix
#

no

opal plank
#

then where the heck is your error even coming from?

earnest phoenix
opal plank
#

thats not sending anything though

pale vessel
#

probably their handler?

opal plank
#

unless you getting missing permissions for trying to change your own activty, the error is not coming from there

#

you are clearly posting a message somewhere

#

and that screenshot doesnt send a message anywhere

#

IM

#

FUCKING

#

RETARDED

#

wrong person

#

my apologies

pale vessel
#

bruh

earnest phoenix
solemn leaf
#

@pale vessel nothing

opal plank
#

i thought it was stepphu, since they were messing with permissions

small ermine
#

yO

solemn leaf
#

it returned nothing

earnest phoenix
#

^^

pale vessel
solemn leaf
#

returns stuff about me in the server

#

but this is activies

earnest phoenix
#

have you got the presence intent enabled?

#

u got presence intents turn on?

#

oh

#

😆

pale vessel
#

😆

earnest phoenix
pale vessel
#

make it a timeout?

earnest phoenix
#

because after making it a Interval it worked

#

why would use setInterval if your goal is to run a single time

#

yes

pale vessel
#

yes

opal plank
#

yes

solemn leaf
#

f

pale vessel
#

try changing it back to timeout

#

it should work

earnest phoenix
#

yes

solemn leaf
#

what is the intent for presnece?

opal plank
#

setInterval is a constant loop
setTimeout is run something once after it expires

earnest phoenix
#

if it doesn't just call clearInterval inside of the callback

opal plank
#

^^

stuck pike
earnest phoenix
#

ah thanks

#

that should work

solemn leaf
#
[
  Activity {
    name: 'osu!',
    type: 'PLAYING',
    url: null,
    details: null,
    state: 'AFK',
    applicationID: '367827983903490050',
    timestamps: null,
    party: null,
    assets: RichPresenceAssets {
      largeText: 'Akiisqt (rank #1,922,131)',
      smallText: 'osu!',
      largeImage: '373344233077211136',
      smallImage: '373370493127884800'
    },
    syncID: undefined,
    flags: ActivityFlags { bitfield: 0 },
    emoji: null,
    createdTimestamp: 1610124390068
  }
]
earnest phoenix
#

does console.log("%c text", "css"); work on node

pure lion
#

try it and see

earnest phoenix
#

tried it and saw

#

doesnt work

solemn leaf
#
[
  Activity {
    name: 'osu!',
    type: 'PLAYING',
    url: null,
    details: 'Hatsune Miku - Kouon Chu Oniki Test [Process of Photosynthesis]',
    state: 'Clicking circles',
    applicationID: '367827983903490050',
    timestamps: null,
    party: null,
    assets: RichPresenceAssets {
      largeText: 'Akiisqt (rank #1,922,131)',
      smallText: 'osu!',
      largeImage: '373344233077211136',
      smallImage: '373370493127884800'
    },
    syncID: undefined,
    flags: ActivityFlags { bitfield: 0 },
    emoji: null,
    createdTimestamp: 1610124748264
  }
]
earnest phoenix
#

why not just use string interpolation 🤔

#

but maybe my css was wrong

solemn leaf
#

think I can do this

stuck pike
#

What's Eris

#

Never heard of it

pale vessel
#

A god

solemn latch
#

Eris is a better discordjs memory wise

stuck pike
#

So what happend to eris

earnest phoenix
pale vessel
#

yes

#

of Discordia or something

stuck pike
#

What happend to it @pale vessel

earnest phoenix
#

if you know who eris is from sinbad

#

i fwu

pale vessel
pure lion
#

i mean discord.js-light is better with memory

pale vessel
#

yeah

#

that's why I use that instead

stuck pike
#

LoL

pure lion
#

thanks tim lysm

stuck pike
#

Lysm = like you so much?

pale vessel
#

Love

stuck pike
#

O

lusty quest
#

i still have the idea to modify d.js-light or normal d.js to use Redis for cache (if i get close to 1k Guilds)

#

or im faster with recoding the bot in Rust or C#

earnest phoenix
lusty quest
#

two Petabytes of Storage*

solemn latch
#

Storage ram, same thing KEKW

earnest phoenix
#

How da fuck did they open a thousand tabs on chrome with storage

lusty quest
#

there is no System that supports 2 Petabytes of ram currently

#

the max i know is 2 Terrabytes

earnest phoenix
#

@lusty quest there is lol

lusty quest
#

1 Petabyte ~ 1024TB

earnest phoenix
#

Lol jk

lusty quest
#

they dont own a Supercomputer tho

earnest phoenix
stuck pike
earnest phoenix
#

vedio

lusty quest
#

and the Server they used for the Chrome Tabs used a dual Socket Epyc system with 2TB of ram

stuck pike
#

Video*

earnest phoenix
#

Uh

stuck pike
#

My bad

earnest phoenix
#

yall seem to be confusing ram storage with drive storage

#

Tf are you guys talking about imao

#

Lmao

stuck pike
solemn leaf
#
assets: RichPresenceAssets {
    largeText: 'Akiisqt (rank #1,922,131)',
    smallText: 'osu!',
    largeImage: '373344233077211136',
    smallImage: '373370493127884800'
  },

How am I supposed to get largetext

earnest phoenix
#

you're annoying

solemn leaf
#

?

stuck pike
#

I agree

solemn leaf
#

mean

earnest phoenix
#

Uh lol

#

was meant for the guy shitposting

stuck pike
#

Not u @solemn leaf

solemn leaf
#

why you bully me

stuck pike
#

Bruh

earnest phoenix
stuck pike
#

It was for @earnest phoenix

solemn leaf
#

oh good

stuck pike
solemn leaf
#

lmao

earnest phoenix
#

Y'all don't have brains or wat of course there is a system that supports two petabytes of ram and that is exactly the same thing which you don't possess

stuck pike
#

;-;

earnest phoenix
#

Just a normal day getting hated 😎

stuck pike
#

Ig u will bannned soon

solemn leaf
#

how do I get the large text?

earnest phoenix
#

peta is 10^15

stuck pike
#

Because u being annoying

solemn latch
#

Its just a property

earnest phoenix
#

i don't think you're aware of how big that is

solemn leaf
#

Im trying to get help

solemn latch
#

Assets.largetext

stuck pike
#

Ge

#

Ye*

solemn leaf
#

I did that

cinder patio
#

64bit systems can have up to 128 gigs of ram

solemn leaf
#

TypeError: Cannot read property 'largeText' of undefined

earnest phoenix
#

@earnest phoenix bro I'm talking about human brains not actual computers

cinder patio
#

at least windows

earnest phoenix
#

KOL

#

LOL

lusty quest
solemn leaf
#

@solemn latch that doesnt work

lusty quest
#

windows server Supports 2TB of Ram

earnest phoenix
lusty quest
#

also windows is trash, slow compared to linux

earnest phoenix
#

Ay yo guys be honest this guy is pretty chill give him points for that also nice @lusty quest

solemn leaf
#

lol

#

guys

solemn latch
solemn leaf
#

wait

earnest phoenix
#

@solemn leaf do activity.assets.largeText

earnest phoenix
#

jesus fucking christ you're annoying

solemn leaf
#

jslet n =message.member.presence.activities.find(x => x.applicationID === "367827983903490050"); console.log(n.find(a => a.largeText).split(" ")[0])

earnest phoenix
#

I did 😎

solemn leaf
#

@earnest phoenix that was null

earnest phoenix
solemn leaf
#

TypeError: Cannot read property 'largeText' of undefined

solemn latch
earnest phoenix
#

what does n.find actually do

#

that second part of the code makes no sense whatsoever

#

lol

#

I don’t think that uh large text is something..

solemn leaf
#

!eval console.log(message.member.presence.activities)

earnest phoenix
solemn latch
#

On that .assets.largeText

earnest phoenix
#

n is your Activity object
access RichPresenceAssets with n.assets

#

^^

solemn leaf
#

how

#

n.assests.RichPresenceAssets

earnest phoenix
#

what is the fucking purpose of doubling the backticks i dont get it

#

...huh?

#

What

#

@solemn leaf RichPresenceAssets is the class name

solemn leaf
#

@earnest phoenix cancling

earnest phoenix
solemn leaf
#

hello im using py

earnest phoenix
#

@static trench ok

static trench
#

SORRY

#

i didnt mean to hit enter

earnest phoenix
#

@earnest phoenix moderion, supportive server ftw 🤮

#

Whaaa?

#

Ftw, what does that stand for

#

fuck the what

solemn leaf
#

you're good ben

earnest phoenix
#

Oohh its support server lmao

#

@earnest phoenix what should I change with it? Does it look good

static trench
#

ok. so on D.py i have the following code to set the bots status.

async def on_ready():
    print('Logged in as')
    print(bot.user.name)
    print(bot.user.id)
    print('------')
   activity = discord.Activity(
        name='coming soon', type=discord.ActivityType.playing)```

its not posting the status though.
solemn leaf
#

@earnest phoenix I cant do that to

earnest phoenix
earnest phoenix
#

Yes, it’s auto correct

#

I know it’s uh support server

#

Fuck the fuck out of your fucking autocorrect

#

Or use an external keyboard

#

Oh.

#

Sure, a invisible one?

solemn leaf
#

auto correct doesnt do grammar

earnest phoenix
#

Cuz maybe I don’t have one

solemn leaf
#

it 'auto corrects'

#

only grammar auto correct fixes is double spaces and periods

earnest phoenix
#

Idk why it did that but it’s not my fault

#

But

#

Uh

solemn leaf
#

@earnest phoenix ?

earnest phoenix
#

What should I change?

#

Or does it look good

#

Bruh it says support server on my coding but supportive here wtf

#

Put a collar color

#

Now fixed ok so what should I change

#

No I like black lol

solemn leaf
#

@static trench
await bot.change_presence(activity=discord.Game(name='coming soon')) try this idk

#

black megga ugly

#

make it the color of the ring around the pfp

sudden olive
#

Hello guys

earnest phoenix
solemn leaf
#

can you pls show me how to get largetext

sudden olive
#

i want to see u something

#

My new music bot

earnest phoenix
#

n.assets.largeText bruh

solemn leaf
#

that doesnt works

earnest phoenix
#

huh

#

console.log(n)

#

do that

sudden olive
#

@Deep ViRk Music Bot#4487

earnest phoenix
#

and send the output on hastebin

#

@sudden olive ?

sudden olive
#

My new bot

earnest phoenix
#

you cant ping your bot here

#

its not in this server

sudden olive
#

How add

#

My bot

solemn leaf
#
Activity {
  name: 'osu!',
  type: 'PLAYING',
  url: null,
  details: null,
  state: 'AFK',
  applicationID: '367827983903490050',
  timestamps: null,
  party: null,
  assets: RichPresenceAssets {
    largeText: 'Akiisqt (rank #1,922,131)',
    smallText: 'osu!',
    largeImage: '373344233077211136',
    smallImage: '373370493127884800'
  },
  syncID: undefined,
  flags: ActivityFlags { bitfield: 0 },
  emoji: null,
  createdTimestamp: 1610124905377
}
sudden olive
#

Here

solemn leaf
#

you dont anymore

#

discord limits to 50

solemn latch
#

Bots can't be added here anymore excluding some very specific bots

solemn leaf
#

special bots