entropy
entropy
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by sproj003 ♿ on 1/17/2024 in #djs-questions
get application commands
Routes is just a wrapper around all the discord api endpoints. If you hover over the applicationsCommands method, it will show you what endpoint it wraps for each HTTP method. With that you can read the Discord api documentation for those routes and figure what it returns. Guild Specific: https://discord.com/developers/docs/interactions/application-commands#get-guild-application-commands Global: https://discord.com/developers/docs/interactions/application-commands#get-global-application-command
11 replies
DIAdiscord.js - Imagine an app
Created by JoelHCraft on 12/13/2023 in #djs-questions
Embed editting
I believe @polarwolvinny ❄ 🌈 is saying to do something like this:
const newEmbed = new EmbedBuilder(test.embeds[0].toJSON()).setDescription('new description')
buttonInteraction.update({ embeds: [newEmbed] })
const newEmbed = new EmbedBuilder(test.embeds[0].toJSON()).setDescription('new description')
buttonInteraction.update({ embeds: [newEmbed] })
19 replies
DIAdiscord.js - Imagine an app
Created by Jimmy_DB on 9/5/2023 in #djs-questions
connect two commands
Is that correct?
13 replies
DIAdiscord.js - Imagine an app
Created by Jimmy_DB on 9/5/2023 in #djs-questions
connect two commands
Based on what you said originally it sounds like you want to be able to generate an image and then generate a video with one command, while preserving the two seprate commands.
13 replies
DIAdiscord.js - Imagine an app
Created by Jimmy_DB on 9/5/2023 in #djs-questions
connect two commands
So you could create a command that has two args for width and height, which then returns an output of the area. /area <width> <height>
13 replies
DIAdiscord.js - Imagine an app
Created by SorNion on 9/4/2023 in #djs-questions
The bot does not read the command although it does appear in the slash bar
62 replies
DIAdiscord.js - Imagine an app
Created by KinjuX-PR on 9/4/2023 in #djs-questions
Discord bot not starting even tho code hasn't been changed for a long time
You could also try fleet (still in beta tho)
28 replies
DIAdiscord.js - Imagine an app
Created by entropy on 9/5/2023 in #djs-questions
Global commands push cause dev/local commands guild to have duplicates
damn ok thank you!
8 replies
DIAdiscord.js - Imagine an app
Created by entropy on 9/5/2023 in #djs-questions
Global commands push cause dev/local commands guild to have duplicates
I see so best would be to just clear guild commands on global push? The only thing is that if I wanted to continue development while the bot is running in production I would cause duplicates again, due to guild commands getting push again. I could just use a separate application for for development I suppose so then I could have the separation.
8 replies