Anurag Bansal
DIAdiscord.js - Imagine an app
•Created by Anurag Bansal on 2/15/2024 in #djs-questions
Collector not replying on pressing on choices of a select menu
47 replies
DIAdiscord.js - Imagine an app
•Created by Anurag Bansal on 2/12/2024 in #djs-questions
Add points to multiple users at once
I want to make 3 optional options to add points to multiple users at once, How can I achieve that without adding the points to an emtpy string's balance?
eg.
const user2 = interaction.options.getUser("user2") ?? " ";
I can think of another approach using
if (user2 === " ") { //Code without adding points to user 2};
But it's not the best approach if I want to add 4-5 optinal users.
https://pastebin.com/7tvYrNGp
Thank You.8 replies
DIAdiscord.js - Imagine an app
•Created by Anurag Bansal on 1/27/2024 in #djs-questions
How to add an interaction for the buttons added here
9 replies
DIAdiscord.js - Imagine an app
•Created by Anurag Bansal on 1/23/2024 in #djs-questions
Timezones inaccurate
13 replies
DIAdiscord.js - Imagine an app
•Created by Anurag Bansal on 1/18/2024 in #djs-questions
A discord bot to show every member's current time
I have a private server where everyone lives around the globe.
I just wanted to know if d.js is capable of checking the current time of any timezone I choose and renaming the person's username.
I'll get rest of the help from resources and internet, Thanks.
16 replies