Sexus Prime
Explore posts from serversDIAdiscord.js - Imagine an app
β’Created by Sexus Prime on 7/9/2023 in #djs-questions
send base64 string on Embed
image is not showing @.gwapes
9 replies
DIAdiscord.js - Imagine an app
β’Created by Sexus Prime on 7/2/2023 in #djs-questions
Cannot read properties of null on guild.commands.create
@lunaπ @qjuh worked, tks!
13 replies
DIAdiscord.js - Imagine an app
β’Created by Sexus Prime on 7/2/2023 in #djs-questions
Cannot read properties of null on guild.commands.create
ok, i gonna try..
13 replies
DIAdiscord.js - Imagine an app
β’Created by Sexus Prime on 7/2/2023 in #djs-questions
Cannot read properties of null on guild.commands.create
memory: π₯
13 replies
DIAdiscord.js - Imagine an app
β’Created by Sexus Prime on 7/2/2023 in #djs-questions
Cannot read properties of null on guild.commands.create
but how would I not be logged in if the guild returns the data?
13 replies
DIAdiscord.js - Imagine an app
β’Created by Sexus Prime on 7/2/2023 in #djs-questions
Cannot read properties of null on guild.commands.create
node: v18.15.0
13 replies
DIAdiscord.js - Imagine an app
β’Created by Sexus Prime on 2/11/2023 in #djs-questions
Using djs types globally
thanks bro
7 replies
DIAdiscord.js - Imagine an app
β’Created by Sexus Prime on 2/11/2023 in #djs-questions
Using djs types globally
I thought about this my whole life before I saw a post about it
7 replies
DIAdiscord.js - Imagine an app
β’Created by Sexus Prime on 2/11/2023 in #djs-questions
Using djs types globally
sorry about that, i saw that information recently somewhere..
7 replies
DIAdiscord.js - Imagine an app
β’Created by Sexus Prime on 2/11/2023 in #djs-questions
Using djs types globally
confused.. so if in file A I import discord.js, and in file B I import it again, won't discord.js be loaded twice?
7 replies
DIAdiscord.js - Imagine an app
β’Created by Sexus Prime on 2/11/2023 in #djs-questions
Using djs types globally
I realized that package is too heavy to be importing in each file, so I found a way to import in a single file.
Of course, importing types in typescript won't weigh more, because when compiled it won't appear, but now it's weird to import only the types, and I'm sure there's some way to use global types without needing to import
When vscode imports the type, it never puts the "type" keyword so I can end up forgetting to put it and discord.js is imported
7 replies
DIAdiscord.js - Imagine an app
β’Created by Sexus Prime on 2/7/2023 in #djs-questions
Interaction class
6 replies