#automodrule command
109 messages · Page 1 of 1 (latest)
• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.
By not responding do you mean that the bot doesn't repond to anything ? or just the command
just the command
Why are you using followUp to respond ?
cauz .reply giving me error
And what's that error ? Because I don't see you doing an initial reply to the interaction first to do a followup next
The only one being the admin perm error message
error [InteractionAlreadyReplied]: The reply to this interaction has already been sent or deferred. this was error using .reply()
O-O
Man this code is cursed...
Why are you using editReply when nothing is being deferred ?
in the setTimeouts
O-O
i should use .reply()?
Use followups in the setTimeouts because they're used to respond after some time
hmm
editReply can ONLY be used when the interaction is DEFERRED
and I don't see you having interaction.deferReply() anywhere
even still you get only 15 mins to respond to that
hmm let me do .followup()
And change all those initial followups to reply
oh
Or just do a main deferReply on the top and change the main replies to edit replies
While the setTimeout replies being followups
For the admin check. Do a try catch scope, throw a new Error on the if condition, catch it and send a followup
Which will get rid of that triggering when you don't want it
i have to do interaction.deferreply() and followup() in settimeouts?
the first in the top of your interaction yes. and then change all the followUps you have now to edit replies so you won't get the error of the interaction being already deferred.
And then because you already reply to the interaction with that. Use followups in the setTimeouts so they can safely respond after
Without throwing errors
And damn I just lost my nitro
Welcome to the no nitro side 
;-;
sorry not sorry, im lost in your code
;-;
You shall know my pain as well
Also please use source bin
i had nitro a year ago ;-;
If the code is long
Im about to have deppresion from this
.reply() 0_0
Imma just go jump off from a bridge
;-;
You can't pass message into the defer reply to display what you want.
You can't customize the <Bot> is thinking ... from discord
It's meant to say that the bot will take some time to respond
So your code has 15 mins to do whatever the hek it's doing and respond
.
into reply or followup
Then send an initial message and use edit on it
If you're too confused about the replies

i removed the content ;-;
uh...
interaction => 3s => .deferReply() or .reply() => 15 min => .editReply() or .followUp() => ...
.reply() ends the interaction
Only followUps after that
or edit
editReply also only works once when deferred.
thats what i was aiming for
aa i cant type
This tutorial will help you my friend
In addition to our How To Make A Discord Bot in Discord.JS v14 series, this video I will be teaching you command response methods. I'll be showing you ephemeral replies, deferred replies, fetching replies, and more with explanation so new Discord.js programmers are able to learn!
🔗 | Useful Links/Downloads:
📟 | Node.js: https://bit.ly/2IbYJG0
⌨...
normal chain is
interaction => 3 seconds => reply or error
interaction => deferReply => 15 seconds => editReply or error
interaction => 3 seconds => reply => followUp
It was nice, thanks for the idea ❤️
sometimes it's confusing on it's own
<3
If you're referring to us editing your code to correct it then no
no spoonfeeding code
ok imma gonna check out guides
I literally gave him practicle guide, everything is explained nicely...
good luck
hey @obtuse vortex
hi
kaha se ho 😏
he'll be back
😏 bharat se
vaha kaha se 😏
haryana
Please go to your DMs if you're gonna chill.
And keep this dJS related
oh noice
sry ;-;
no am not intrested lol
i sux at english ;-; never learned seriously
well, i was just looking around found this guy struggling, thought of helping, he asked for my country , so i told him now back to my work
