Closed Henry-Hiles closed 2 years ago
Are you are using typescript in javascript?
No, just javascript.
Hmm Whatever is in front of userId is undefined i think
Yes i know, the entrant is undefined.
What i do not know is why
I think i will add some logs in and next time it happens i can check them.
Will do tomorrow, thank you for your help.
Use optional chaining or add a check.
Okie
Use optional chaining or add a check.
I would, but the thing is it should never be undefined
.
Yes thank you, i know.
Use optional chaining or add a check.
I would, but the thing is ir should never be
undefined
.
Okie
Is it night for you?
Yeah.
Ohh okie
Tmro then
Yep.
Bye now :)
- you need to push the changes you made to the original bot
Bye now :)
What?
The changes you made like u remove the role giveaway option its still in the "/config" command
Oh yeah i forgot to deploy commands, that shouldnt case it though. Anyway goodnight, i will attempt to fix this tomorrow, thank you.
Im back
I could limit it to a hundred i guess...
Yes kk
Yeah coming soon.
Do u have a discord server i can join ?
Or a test server
Not really rn. I have a server where i test the bot while selfhosting though.
Can i join?
You can, but the bot there is only online when i am testing.
Okie invite me
Well u find the error yet?
U here?
Hello
Hello, sorry for the delay, i believe i have now fixed it.
Had a very busy week but managed to reproduce after making two alts. I believe you need to three people to join to reproduce
The problem was that delete doesnt reindex the array. Using splice now.
(If the error persists please reopen)
Describe the bug Some giveaways do not end.
To Reproduce Unknown.
Expected behavior For the giveaway to end.
Additional context The error seems to be the following:
TypeError: Cannot read properties of undefined (reading 'userId')