0fficerSally
0fficerSally
DIAdiscord.js - Imagine an app
Created by 0fficerSally on 10/12/2024 in #djs-questions
Command Handling With TypeScript
I will definitely document my progress here once I figured it out, perhaps it can help someone else in the future.
9 replies
DIAdiscord.js - Imagine an app
Created by 0fficerSally on 10/12/2024 in #djs-questions
Command Handling With TypeScript
Thank you for all of your suggestions! I have to put my project on hold for now, but I will definitely continue here once I have the opportunity.
9 replies
DIAdiscord.js - Imagine an app
Created by 0fficerSally on 10/12/2024 in #djs-questions
Command Handling With TypeScript
Okay, thank you! I explicitly typed the readyClient parameter, because otherwise it'd get marked as an error for me, probably due to the way I have set up my tsconfig.json. I'm just not sure how to attach .commands to my client instance. To extend the base Client class, I don't know whether I should augment it or cast it.
9 replies
DIAdiscord.js - Imagine an app
Created by 0fficerSally on 10/12/2024 in #djs-questions
Command Handling With TypeScript
- Node.js: v20.15.1 - discord.js: v14.16.3
9 replies