Syjalo
DIdiscord.js - Imagine ❄
•Created by Stydfast on 12/17/2024 in #djs-questions
Best way to chain select menus
I'd make a single
interactionCreate
listener. It would parse the custom id for the form id and the current question.
Let's say the user answers the first question with the second option for the my-form
select menu. The bot updates the message with the my-form:2
custom id of select menu. For the next question the user selects first option, the bot update the message with my-form:2:1
, and so on until the last question. On the last question answer you have a custom id with all the answers for the form.3 replies
DIdiscord.js - Imagine ❄
•Created by Daniet Cinema on 12/13/2024 in #djs-questions
Checking Guild Subscription
Using interactions you can use this property
5 replies
DIdiscord.js - Imagine ❄
•Created by 𝗦𝗮𝘁𝗮𝗻 on 12/10/2024 in #djs-questions
Need help with pagination
Show the error
12 replies
DIdiscord.js - Imagine ❄
•Created by Wasabi on 12/3/2024 in #djs-questions
Linking emojis to a role
6 replies
DIdiscord.js - Imagine ❄
•Created by Stiefanek Was Taken💅🏻 on 11/30/2024 in #djs-questions
Make a bot leave the server you run the command in.
It's not that hard to search in the docs
8 replies
DIdiscord.js - Imagine ❄
•Created by RexZenn on 11/30/2024 in #djs-questions
Transcript to URL
Sounds like an express issue, definately not discord.js
10 replies
DIdiscord.js - Imagine ❄
•Created by Invisible on 11/20/2024 in #djs-questions
Leave (NOT COMMAND)
Eg in ready event
41 replies
DIdiscord.js - Imagine ❄
•Created by Invisible on 11/20/2024 in #djs-questions
Leave (NOT COMMAND)
Where your client is ready
41 replies
DIdiscord.js - Imagine ❄
•Created by L4UR3NS on 11/12/2024 in #djs-questions
djs 14.16.3 - voiceStateUpdate - what do "sessionId" changes mean?
This particular user is most likely using the bot in VCs for a long time, so it hits the time Discord asks to reconnect to the Gateway
7 replies
DIdiscord.js - Imagine ❄
•Created by L4UR3NS on 11/12/2024 in #djs-questions
djs 14.16.3 - voiceStateUpdate - what do "sessionId" changes mean?
That's the gateway connection session id. Discord asks to reconnect sometimes
7 replies
DIdiscord.js - Imagine ❄
•Created by $ BB on 10/29/2024 in #djs-questions
Bot not starting invalid token
Egg or eggplant, call it whatever you want
80 replies
DIdiscord.js - Imagine ❄
•Created by Gua-xi on 10/26/2024 in #djs-questions
How to create a thread with user permission for viewing?
Threads don't have permissions. You have to add members
3 replies
DIdiscord.js - Imagine ❄
•Created by SaumonDeLuxe on 10/25/2024 in #djs-questions
Is there an efficient way to get date as option for interaction ?
You send them options while they type something
15 replies
DIdiscord.js - Imagine ❄
•Created by SaumonDeLuxe on 10/25/2024 in #djs-questions
Is there an efficient way to get date as option for interaction ?
And v13 is not supported anymore
15 replies
DIdiscord.js - Imagine ❄
•Created by SaumonDeLuxe on 10/25/2024 in #djs-questions
Is there an efficient way to get date as option for interaction ?
You can use autocomplete to validate the time before sending, but there's currently a bug in there
15 replies
DIdiscord.js - Imagine ❄
•Created by NilsCraftHD on 10/23/2024 in #djs-questions
Not showing avatarDecoration on my API
Yes
18 replies
DIdiscord.js - Imagine ❄
•Created by NilsCraftHD on 10/23/2024 in #djs-questions
Not showing avatarDecoration on my API
v13 is deprecated and not supported anymore
18 replies
DIdiscord.js - Imagine ❄
•Created by NilsCraftHD on 10/23/2024 in #djs-questions
Not showing avatarDecoration on my API
What's your version then? Avatar decorations were implemented in v14.16
18 replies