Adan_ea
DIAdiscord.js - Imagine an app
•Created by Adan_ea on 3/12/2024 in #djs-questions
Bulk delete stopping at 50
5 replies
DIAdiscord.js - Imagine an app
•Created by Adan_ea on 11/22/2023 in #djs-questions
voice.setRTCRegion(null) not working
HI,
I have this code to change the region and it works perfectly except the null option
4 replies
DIAdiscord.js - Imagine an app
•Created by Adan_ea on 9/19/2023 in #djs-questions
Unable to import a component from a file to another
Hi, i'm trying to get a select menu exported in a file in order to use it in another one by importing it but i get this error (i tried with buttons and i got the same thing):
When the function is in the same file i don't get the issue
The func is :
and i call it like this with the good import:
When the function buildSelectMenu is in the same file, i dont get this error
I'm using
Typescript 5.1.6
and djs v14.11.0
10 replies
DIAdiscord.js - Imagine an app
•Created by Adan_ea on 7/25/2023 in #djs-questions
Building slash commands differently
Hi, i had a discord bot on v13 and JS and i did this to implement slash commands
But i'm trying to do recreate this with TS and i don't seem to be able to do it this way,
Also : How should i manage to get this architecture with sub commands ?
I find this way easier to read so i'd like to keep it that way if possible
16 replies