Superchupu
Superchupu
DIAdiscord.js - Imagine an app
Created by ales on 2/25/2024 in #djs-questions
Converting the Command Handler and the Command Deployer to use ES modules
it's a drop in replacement of __dirname and __filename iirc
11 replies
DIAdiscord.js - Imagine an app
Created by ales on 2/25/2024 in #djs-questions
Converting the Command Handler and the Command Deployer to use ES modules
11 replies
DIAdiscord.js - Imagine an app
Created by ales on 2/25/2024 in #djs-questions
Converting the Command Handler and the Command Deployer to use ES modules
@ales actually if you use node versions over 21.2.0 you can use import.meta.dirname/import.meta.filename instead, they got added recently
11 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/17/2022 in #djs-questions
SlashCommandBuilder is not defined in compiled TypeScript, but the TypeScript file acts like it is
can you show your ts code that compiles and js code that fails
16 replies
DIAdiscord.js - Imagine an app
Created by Superchupu on 7/22/2022 in #djs-questions
In what cases can message.member be null?
yeah im talking about getting it from the messageCreate event
7 replies