DanielBA
DIAdiscord.js - Imagine a boo! 👻
•Created by DanielBA on 11/15/2023 in #djs-questions
Can large files cause abortion errors?
My bot sends a .png file across many servers. Most of the come out with abortion errors, meaning the API request timed out.
The .png file weighs 370KB and when I switch it to a smaller one that only weighs 50KB the code works perfectly
6 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by DanielBA on 8/7/2023 in #djs-questions
Recoursive Error
7 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by DanielBA on 7/20/2023 in #djs-questions
New slash commands not registering
Two of my slash commands (new ones, created after the last deployment) are not being registered. I checked that the array I use for the deployment does include them, yet they are still not being registered.
Example code of one of the slash command files
Code for the deployment:
9 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by DanielBA on 4/26/2023 in #djs-questions
Handling StringSelectMenuInteraction
This is how I read the current selected value from a <StringSelectMenuCopmonent>. I receive an error stating
menu.values is undefined
. Why is that?8 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by DanielBA on 3/15/2023 in #djs-questions
Message fetching
I have this function which edits a message anytime it is called, or re-sends it if it was deleted. I have noticed that when I restart the bot, it won't recognize the message and resend it, then start editing the new message. What is the cause of this and how can I fix it?
3 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by DanielBA on 12/24/2022 in #djs-questions
function will sometimes not be called
3 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by DanielBA on 11/2/2022 in #djs-questions
voicestate is undefined
Inside of the console.log() I am trying to log the user data of the state's user, but as I try and do that, I get an error saying Can't read properties of undefined reading 'id', yet, When I try and log the voiceState it logs fine.
Am I doing something wrong here?
6 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by DanielBA on 11/2/2022 in #djs-voice
voiceState is undefined
Inside of the console.log() I am trying to log the user data of the state's user, but as I try and do that, I get an error saying
Can't read properties of undefined reading 'id'
, yet, When I try and log the voiceState it logs fine.
Am I doing something wrong here?9 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by DanielBA on 10/20/2022 in #djs-questions
How to edit a value inside of a collection
What I am looking for is just as the title says
8 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by DanielBA on 10/19/2022 in #djs-questions
Collections problem
does someone know why it logs 2 and only then 1? Also, why does debounce.findKey always returns undefined?
10 replies