#interaction

1 messages · Page 1 of 1 (latest)

last peak
#

did you look video?

chilly phoenix
#

Yes I did

last peak
#

and why bot aint replying at all

#

those .reply's doesnt affect cuz none of these is not running

#

i did set to edit reply

#

but still

#

when i run command

#

bot run command after few seconds

chilly phoenix
#

That may be caused from the other packages

#

Doubt thats an issue with djs

#

But still are the files all saved and restarted and everything?

last peak
#

yes

chilly phoenix
#

Because code doesnt match error

last peak
#

well, please ignore error, i can do without defer, main thing is that bot run commands after they are run with delay of aprx 15-30 sec

chilly phoenix
#

Let me check again

last peak
#

when i have defer in command only

#

bot run command even couple minutes after i send it

#

i have retelimit even its not that

#

and same for message

#

i have messageCreate

#

it doesnt even run

chilly phoenix
#

You should try logging the times in different locations

#

To know where it does stop

last peak
#

hm

chilly phoenix
#

That seems normal

#

presenceUpdate event runs a lot of times

#

So that shouldnt be an issue

last peak
#

but this is bruh

#

to much

#

and that functions file

#

that runs

#

its over 3k lines

#

this is repeating

chilly phoenix
#

Well, then that might be an issue dogeHaHa

last peak
#

i have this like 27 times

#

running on presence

chilly phoenix
#

Presences get emitted multiple times

#

One for each guild the member is in iirc

last peak
#

ik but this

#

is run every time

#

this is one function of 27 running at same time

#

on each presence

#

sounds like ratelimit

chilly phoenix
#

There you have your issue then

last peak
#

how to fix cuz bruh

#

sourcebin died

#

so i need to lower that

#

how can i possibly compress this shit

#

bruh

chilly phoenix
#

¯\_(ツ)_/¯

#

No clue tbh, too many api calls from your db and dapi

last peak
#

it wont check for member

#

and it could possibly lower d api calls?

chilly phoenix
#

Maybe

last peak
last peak
#

@chilly phoenix i did that and commands still not running

#

same as from first video

#

wth

lunar depot
#

yo

#

@last peak

#

yo man

#

oh

last peak
#

yes?

lunar depot
#

no timeout here

#

i thought i could help you

#

what's the matter

last peak
lunar depot
#

i think that @last peak

#

you should deferReply()

#

then editReply()

last peak
#

i did that

last peak
#

lol

#

nothing works anymore lmao

lunar depot
last peak
#

but it doesnt pass trought defer

#

as you see from video

lunar depot
#

oh

#

ok

#

did you try async and await tho @last peak

last peak
#

where

lunar depot
#

the editrepley

#

i think you should const sth = await that

#

then return

last peak
#

but whats point if bot cannot pas trought deferReply() bruh

#

see it logs only "something" before defer

#

it doesnt log "something2" after it

lunar depot
#

ok

last peak
#

and idk why does it takes so long to run events

lunar depot
#

i see

#

hmm

#

i'm new to this one

#

guess i can't help lol

last peak
#

yeah.. wtfummm