oxi
DIAdiscord.js - Imagine an app
•Created by oxi on 7/9/2024 in #djs-questions
Welcome Message Sending multiple times
12 replies
DIAdiscord.js - Imagine an app
•Created by oxi on 1/18/2024 in #djs-questions
guildMemberUpdate, function not executing as expected
Node.js: v20.5.1
Discord.js: v14.13.0
https://hastebin.com/share/etonilifab.typescript
This function executes completely fine on the second, third and fourth execution. However, on the first it is unable to get oldMember, as it is not cached.
How would I be able to have it so that it allows for me to synchronise their roles correctly? I attempted to use partials yet this did not work as roles can be added yet not removed.
20 replies
DIAdiscord.js - Imagine an app
•Created by oxi on 9/20/2023 in #djs-voice
Having an issue during installation
https://hastebin.com/share/vivaluruqo.ruby
Tried to look for other people who may have asked the same question and tried to parse the error message myself yet cannot seem to figure out why it's not working or more specifically how to resolve the issue.
3 replies
DIAdiscord.js - Imagine an app
•Created by oxi on 8/19/2023 in #djs-questions
Would it be possible to make this have a generic type?
I've not really used them too much and have been trying to follow along using the Typescript documentation, however getting a bit confused when it comes to making it work whilst adhering to the limits of
AnyComponentBuilder
, as I do get an error with this current code:
I attempted to fix this by extending AnyCompontentBuilder and then I get the following error upon compilation within all of my usages of the generateActionRows
This is not much of an issue, just though tit would be nice if I could create one helper function for all ActionRowBuilder types rather than one per type.9 replies
DIAdiscord.js - Imagine an app
•Created by oxi on 8/3/2023 in #djs-questions
Autocomplete Command not sending update
Not too sure how to explain it exactly however,
I have a command with multiple Autocomplete options, therefore I have added in a "key" option so they can select what specific key they are wanting.
/config reset key:string value:AutocompleteString
Here is an extract from my code(the portion responsible for AutocompleteInteractions for this specific command):
Here is a gif demonstrating what I am meaning:
https://i.imgur.com/bu90n92.gif
Versions:
[email protected]
[email protected]
4 replies
DIAdiscord.js - Imagine an app
•Created by oxi on 5/26/2023 in #djs-questions
Interaction has already been acknowledged - yet I am not acknowledging it ?
I have had a look through my code and I will append it below, however, I do not see where the issue is appearing as it is stating that the command is already replied to. However, the only reply is the "Error Cannot Execute".
Node Version: v16.10.0
Djs Version: v14.11.0
13 replies
DIAdiscord.js - Imagine an app
•Created by oxi on 5/15/2023 in #djs-questions
awaitMessages not returning an output
6 replies
DIAdiscord.js - Imagine an app
•Created by oxi on 5/14/2023 in #djs-questions
Typescript: ActionRowBuilder<> is not assignable.
I seem to be getting this error:
I'm using the code from the djs guide.
5 replies
DIAdiscord.js - Imagine an app
•Created by oxi on 8/3/2022 in #djs-questions
TS - Typing issue with ModalSubmitInteraction.member
I am trying to get the GuildMember from a ModalSubmitInteraction - how would I resolve this error?
5 replies
DIAdiscord.js - Imagine an app
•Created by oxi on 7/19/2022 in #djs-questions
TS - Setting colour on an embed doesn't work with variables?
3 replies
DIAdiscord.js - Imagine an app
•Created by oxi on 6/25/2022 in #djs-questions
Odd TypeScript Error with D.JSv13.7
7 replies
DIAdiscord.js - Imagine an app
•Created by oxi on 6/15/2022 in #djs-questions
Is there a Client.rest alternative in v13.8?
13 replies