M@
DIAdiscord.js - Imagine an app
•Created by M@ on 7/11/2023 in #djs-questions
Command Handler Issues
Thank you, SpecialSauce!
19 replies
DIAdiscord.js - Imagine an app
•Created by M@ on 7/11/2023 in #djs-questions
Command Handler Issues
I got it!
19 replies
DIAdiscord.js - Imagine an app
•Created by M@ on 7/11/2023 in #djs-questions
Command Handler Issues
That’s my main concern and take away from all of this.
19 replies
DIAdiscord.js - Imagine an app
•Created by M@ on 7/11/2023 in #djs-questions
Command Handler Issues
But could I have it in a separate file from index.js? Right now I have it in a file named gpt3.5.js.
19 replies
DIAdiscord.js - Imagine an app
•Created by M@ on 7/11/2023 in #djs-questions
Command Handler Issues
My OpenAI code isn’t really a command. I think a better word would be interaction or integration.
19 replies
DIAdiscord.js - Imagine an app
•Created by M@ on 7/11/2023 in #djs-questions
Command Handler Issues
Could I make my command folder a slashcommands folder and make a new folder for basic commands.
19 replies
DIAdiscord.js - Imagine an app
•Created by M@ on 7/11/2023 in #djs-questions
Command Handler Issues
Would I put it in my events folder?
19 replies
DIAdiscord.js - Imagine an app
•Created by M@ on 7/11/2023 in #djs-questions
Command Handler Issues
Yes, I have an event handler but I don’t think any of this code interacts with my events handler.
19 replies
DIAdiscord.js - Imagine an app
•Created by M@ on 7/11/2023 in #djs-questions
Command Handler Issues
[email protected]
Node: v18.16.1
19 replies
DIAdiscord.js - Imagine an app
•Created by M@ on 7/11/2023 in #djs-questions
Command Handler Issues
This is my index.js file, if it helps.
19 replies
DIAdiscord.js - Imagine an app
•Created by M@ on 7/11/2023 in #djs-questions
Command Handler Issues
I've tried removing the
.setName()
and .setDescription()
functions, but when I do, I'm given an error stating my command must have a name. I don't understand, because no one will ever need to read this "invisble" command. I guess it's treating it like a slash command but it's not. I just wanbt to store each of my commands in seperate files so my index.js does not get too crammed.19 replies
DIAdiscord.js - Imagine an app
•Created by M@ on 7/11/2023 in #djs-questions
Command Handler Issues
19 replies