Search
Get Started
d-I❄
discord.js - Imagine ❄
•
2y ago
Dr.Death
duplicate responses
discord.js - Imagine ❄
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
58,353
Members
View on Discord
Was this page helpful?
Yes
No
D
d.js toolkit
•
4/27/24, 10:17 PM
What
's your exact discord
.js
npm list discord.js
npm list discord.js
and node
node -v
node -v
version
?
Not a discord
.js issue
? Check out
#other
-js
-ts
.
Consider reading
#how
-to
-get
-help to improve your question
!
Explain what exactly your issue is
.
Post the full error stack trace
, not just the top part
!
Show your code
!
Issue solved
? Press the button
!
✅
✅
Marked as resolved by staff
D
Dr.Death
OP
•
4/27/24, 10:18 PM
some time reply 2 times or 4 times
iam use glitch
D
Dr.Death
OP
•
4/27/24, 10:25 PM
message.txt
11.97KB
D
Dr.Death
OP
•
4/27/24, 10:25 PM
@J
ô
D
Dr.Death
OP
•
4/27/24, 10:25 PM
No Error
D
Dr.Death
OP
•
4/27/24, 10:25 PM
But it reply 2 times
J
jö 🌈
do you have more than one bot instance running?
D
Dr.Death
OP
•
4/27/24, 10:25 PM
No
D
Dr.Death
OP
•
4/27/24, 10:26 PM
iam hope u help me
D
Dr.Death
OP
•
4/27/24, 10:26 PM
I have checked the code more than a thousand times
. I hope to find the solution here
J
jö 🌈
turn your bot off and run the command to see if it responds after
D
Dr.Death
OP
•
4/27/24, 10:27 PM
iam did it too
J
jö 🌈
im not sure what that means, but does your bot respond *after* turning it off?
D
Dr.Death
OP
•
4/27/24, 10:27 PM
yes
J
jö 🌈
then your bot is running more than once
D
Dr.Death
OP
•
4/27/24, 10:28 PM
No
, because this problem does not always occur to me
D
Dr.Death
OP
•
4/27/24, 10:29 PM
This problem comes when node update
J
jö 🌈
:doubt:
D
Dr.Death
OP
•
4/27/24, 10:29 PM
J
jö 🌈
:doubt:
D
Dr.Death
OP
•
4/27/24, 10:30 PM
wdym
D
Dr.Death
OP
•
4/27/24, 10:30 PM
ok sorry
>
J
jö 🌈
im not sure how else to help here. if your bot still responds after you turn it ...
D
Dr.Death
OP
•
4/27/24, 10:33 PM
iam already reseted token and still response 2 times
D
d.js docs
APP
•
4/27/24, 10:34 PM
If you aren
't getting any errors
, try to place
console.log
console.log
checkpoints throughout your code to find out where execution stops
.
Once you do
, log relevant values and if
-conditions
More sophisticated debugging methods are breakpoints and runtime inspections
:
learn more
D
Dr.Death
OP
•
4/27/24, 10:35 PM
and iam sure one bot instance running
J
jö 🌈
try running your bot locally using visual studio code instead of glitch and see ...
D
Dr.Death
OP
•
4/27/24, 10:35 PM
did it too
D
Dr.Death
OP
•
4/27/24, 10:36 PM
sorry for ping by mistake
D
Dr.Death
OP
•
4/27/24, 10:40 PM
still responds
D
Dr.Death
OP
•
4/27/24, 10:40 PM
:Thonk
:
J
jö 🌈
^
D
Dr.Death
OP
•
4/27/24, 10:41 PM
No
J
jö 🌈
resetting the token should immediately shut all bot instances so that confuses m...
D
Dr.Death
OP
•
4/27/24, 10:41 PM
iam did it too
J
jö 🌈
if it still responds, then your bot *is* running more than once
D
Dr.Death
OP
•
4/27/24, 10:42 PM
No
D
Dr.Death
OP
•
4/27/24, 10:42 PM
not sill
D
Dr.Death
OP
•
4/27/24, 10:42 PM
responds
J
jö 🌈
this really isn't even a discord.js related issue
D
Dr.Death
OP
•
4/27/24, 10:43 PM
is it from glitch
?
D
Dr.Death
OP
•
4/27/24, 10:43 PM
iam use glitch
Next page