P'titeLouise
P'titeLouise
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 4/27/2024 in #djs-questions
Trouble with collector and interactions
I fixed it thank to you
7 replies
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 4/27/2024 in #djs-questions
Trouble with collector and interactions
@Qjuh Thank you!
7 replies
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 4/27/2024 in #djs-questions
Trouble with collector and interactions
I'll have a look
7 replies
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 4/27/2024 in #djs-questions
Trouble with collector and interactions
Well, when I type the command it fetches all the reactions and creates the embed, but when I press the 'Next' button (since the 'Previous' is disabled on the first page) it usually crashes. The weird thing is that sometimes it goes to the next page before crashing.
7 replies
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 4/27/2024 in #djs-questions
Trouble with collector and interactions
The output in the console:
Logged in as TestBotLouise#8536
index.js:122

Checking if reactions are configured...
index.js:238

Button interaction received
index.js:284

DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\PtiteLouise\node_modules\@discordjs\rest\dist\index.js:722:13)
at process.processTicksAndRejections (c:\Users\PtiteLouise\Desktop\hehe\Reaction Bot\lib\internal\process\task_queues.js:95:5)
at async BurstHandler.runRequest (C:\Users\PtiteLouise\node_modules\@discordjs\rest\dist\index.js:826:23)
at async _REST.request (C:\Users\PtiteLouise\node_modules\@discordjs\rest\dist\index.js:1266:22)
at async ButtonInteraction.deferUpdate (c:\Users\PtiteLouise\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:200:5)
at async InteractionCollector.<anonymous> (C:\Users\PtiteLouise\Desktop\hehe\Reaction Bot\index.js:285:5) {requestBody: {…}, rawError: {…}, code: 10062, status: 404, method: 'POST', …}
index.js:285

Failed to update interaction: DiscordAPIError[40060]: Interaction has already been acknowledged.
at handleErrors (C:\Users\PtiteLouise\node_modules\@discordjs\rest\dist\index.js:722:13)
at process.processTicksAndRejections (c:\Users\PtiteLouise\Desktop\hehe\Reaction Bot\lib\internal\process\task_queues.js:95:5)
at async BurstHandler.runRequest (C:\Users\PtiteLouise\node_modules\@discordjs\rest\dist\index.js:826:23)
at async _REST.request (C:\Users\PtiteLouise\node_modules\@discordjs\rest\dist\index.js:1266:22)
at async ButtonInteraction.update (c:\Users\PtiteLouise\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:233:5)
at async InteractionCollector.<anonymous> (C:\Users\PtiteLouise\Desktop\hehe\Reaction Bot\index.js:299:5) {requestBody: {…}, rawError: {…}, code: 40060, status: 400, method: 'POST', …}
index.js:304
Logged in as TestBotLouise#8536
index.js:122

Checking if reactions are configured...
index.js:238

Button interaction received
index.js:284

DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\PtiteLouise\node_modules\@discordjs\rest\dist\index.js:722:13)
at process.processTicksAndRejections (c:\Users\PtiteLouise\Desktop\hehe\Reaction Bot\lib\internal\process\task_queues.js:95:5)
at async BurstHandler.runRequest (C:\Users\PtiteLouise\node_modules\@discordjs\rest\dist\index.js:826:23)
at async _REST.request (C:\Users\PtiteLouise\node_modules\@discordjs\rest\dist\index.js:1266:22)
at async ButtonInteraction.deferUpdate (c:\Users\PtiteLouise\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:200:5)
at async InteractionCollector.<anonymous> (C:\Users\PtiteLouise\Desktop\hehe\Reaction Bot\index.js:285:5) {requestBody: {…}, rawError: {…}, code: 10062, status: 404, method: 'POST', …}
index.js:285

Failed to update interaction: DiscordAPIError[40060]: Interaction has already been acknowledged.
at handleErrors (C:\Users\PtiteLouise\node_modules\@discordjs\rest\dist\index.js:722:13)
at process.processTicksAndRejections (c:\Users\PtiteLouise\Desktop\hehe\Reaction Bot\lib\internal\process\task_queues.js:95:5)
at async BurstHandler.runRequest (C:\Users\PtiteLouise\node_modules\@discordjs\rest\dist\index.js:826:23)
at async _REST.request (C:\Users\PtiteLouise\node_modules\@discordjs\rest\dist\index.js:1266:22)
at async ButtonInteraction.update (c:\Users\PtiteLouise\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:233:5)
at async InteractionCollector.<anonymous> (C:\Users\PtiteLouise\Desktop\hehe\Reaction Bot\index.js:299:5) {requestBody: {…}, rawError: {…}, code: 40060, status: 400, method: 'POST', …}
index.js:304
7 replies
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 12/11/2023 in #djs-questions
Adding new tag to forum channel
I'll close the post now
19 replies
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 12/11/2023 in #djs-questions
Adding new tag to forum channel
Thank you for your help @duck
19 replies
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 12/11/2023 in #djs-questions
Adding new tag to forum channel
Yeah, this worked:
const updatedTags = [
...forumChannel.availableTags,
{ name: tagName, emoji: { name: "❗" } },
];
const updatedTags = [
...forumChannel.availableTags,
{ name: tagName, emoji: { name: "❗" } },
];
19 replies
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 12/11/2023 in #djs-questions
Adding new tag to forum channel
It is on Discord I think
19 replies
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 12/11/2023 in #djs-questions
Adding new tag to forum channel
Let me try
19 replies
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 12/11/2023 in #djs-questions
Adding new tag to forum channel
I'm confused, would that work?
const updatedTags = [
...forumChannel.availableTags,
{ name: tagName, emoji: { name: exclamation }},
];
const updatedTags = [
...forumChannel.availableTags,
{ name: tagName, emoji: { name: exclamation }},
];
19 replies
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 12/11/2023 in #djs-questions
Adding new tag to forum channel
Then what should I put in the code instead please? I want to use this exact emoji: ❗
19 replies
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 12/11/2023 in #djs-questions
Adding new tag to forum channel
Trying to directly put the emoji with the brackets in the 'emoji:' field didn't work.
19 replies
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 12/11/2023 in #djs-questions
Adding new tag to forum channel
I don't get any error in the console, by the way!
19 replies
DIAdiscord.js - Imagine an app
Created by P'titeLouise on 12/11/2023 in #djs-questions
Adding new tag to forum channel
No description
19 replies