NanotechPikachu
DIAdiscord.js - Imagine an app
•Created by NanotechPikachu on 2/17/2024 in #djs-questions
Bot not responding to prefix cmds
Hi to all!
I have the following in my
./events/messageCreate.js
The bot isn't responding when I do +ping
I will attach my ping.js below as msg6 replies
DIAdiscord.js - Imagine an app
•Created by NanotechPikachu on 10/15/2023 in #djs-questions
Loop for bot role has
The problem is that even when bots are in the server having the role, it completely skips the condition and array will be empty
6 replies
DIAdiscord.js - Imagine an app
•Created by NanotechPikachu on 10/8/2023 in #djs-questions
Await reaction & loop
Hi.
I am trying to use
.awaitReactions()
to run the addUserToGiveaway
on every reaction added to message. But, it only works after the "max" value is reached or timeout happens.
I wanna make it such that the code inside it runs on every reaction added. How do I do?
This is just a part of code. All the things like giveawayMessage and addUserToGiveaway have been declared and no other errors.4 replies
DIAdiscord.js - Imagine an app
•Created by NanotechPikachu on 7/11/2023 in #djs-questions
Banning doesn't delete msgs
I have made a ban code and will attach the important part below. The problem is that when I use the code, it bans the user but isn't deleting messages which I think it should.
Plz enlighten me on this issue
Thnx
10 replies
DIAdiscord.js - Imagine an app
•Created by NanotechPikachu on 3/23/2023 in #djs-questions
Ping command help - Beginner
Hi.
I am just a beginner in discord.js. I have done some projects in discord.py.
My problem is that, I cannot get heads or tails to make a Ping command in js. I tried the example in guide too as well as in stackoverflow but, couldn't get it
I know at least i should give an example, but, i cannot cuz no code is usable for me(as far as i saw).
I am thinking of a ping slash command. If u could help me with such a command that has an embed counting the latency and api. It would be helpful for me to understand better.
Also, I am using replit to code.
Sorry for this foolish question. I can't get any better way other than this
30 replies