sludge
sludge
DIAdiscord.js - Imagine a bot
Created by Chloe on 4/26/2024 in #djs-questions
Button Automatically Pressing
yeah, sorry I zero'd in on the reason it was happening in the video but yeah all instances of reply.edit should be fixed
20 replies
DIAdiscord.js - Imagine a bot
Created by Chloe on 4/26/2024 in #djs-questions
Button Automatically Pressing
reply.edit on line 229 should really be interaction.update
20 replies
DIAdiscord.js - Imagine a bot
Created by Chloe on 4/26/2024 in #djs-questions
Button Automatically Pressing
I think its a visual issue with the client owing to you editing the reply but not actually responding to the button interaction
20 replies
DIAdiscord.js - Imagine a bot
Created by CrackedPotato on 4/21/2024 in #djs-questions
PM2 specifically fails to start djs bot, all other projects restart just fine
yeah so definitely not a DJS issue
17 replies
DIAdiscord.js - Imagine a bot
Created by Jordan on 4/17/2024 in #djs-questions
Shop Queue
its still unrelated to DJS so you'll need to ask for help in #other-js-ts
6 replies
DIAdiscord.js - Imagine a bot
Created by Amgelo on 4/15/2024 in #djs-questions
Mapping command data to an ApplicationCommand
even if your app had the maximum number of commands, and you make a change to just one of those 100 commands, you'd still see that error because the client (your app client) will still want/need to refresh the commands available
38 replies
DIAdiscord.js - Imagine a bot
Created by Amgelo on 4/15/2024 in #djs-questions
Mapping command data to an ApplicationCommand
there's nothing you can do on the dev side of things to alter how that works
38 replies
DIAdiscord.js - Imagine a bot
Created by Amgelo on 4/15/2024 in #djs-questions
Mapping command data to an ApplicationCommand
only time I see that error is if I use an apps command, redeploy and then try to use the command again without changing channel and/or guild to refresh
38 replies
DIAdiscord.js - Imagine a bot
Created by Amgelo on 4/15/2024 in #djs-questions
Mapping command data to an ApplicationCommand
I don’t think you’re going to find a simple way of doing it if you specifically want the code to know when it should and shouldn’t deploy
38 replies
DIAdiscord.js - Imagine a bot
Created by Amgelo on 4/15/2024 in #djs-questions
Mapping command data to an ApplicationCommand
Well if you use the set method on Client.application.commands it’ll register anything that’s new, update anything that already exists and delete anything that’s no longer needed - all in one go
38 replies
DIAdiscord.js - Imagine a bot
Created by chickenwing on 4/10/2024 in #djs-questions
New discord Poll detection
well of course, because DJS doesn't support it yet but the data is there on the API directly
19 replies
DIAdiscord.js - Imagine a bot
Created by chickenwing on 4/10/2024 in #djs-questions
New discord Poll detection
not through DJS directly, but on the API yes, messages with a poll in them have a new poll property that contains everything relating to the poll
"poll": {
"question": {
"text": "testing"
},
"answers": [
{
"answer_id": 1,
"poll_media": {
"text": "1"
}
},
{
"answer_id": 2,
"poll_media": {
"text": "2"
}
}
],
"expiry": "2024-04-11T14:30:13.975179+00:00",
"allow_multiselect": false,
"layout_type": 1,
"results": {
"answer_counts": [],
"is_finalized": false
}
}
"poll": {
"question": {
"text": "testing"
},
"answers": [
{
"answer_id": 1,
"poll_media": {
"text": "1"
}
},
{
"answer_id": 2,
"poll_media": {
"text": "2"
}
}
],
"expiry": "2024-04-11T14:30:13.975179+00:00",
"allow_multiselect": false,
"layout_type": 1,
"results": {
"answer_counts": [],
"is_finalized": false
}
}
19 replies