net-tech-
net-tech-
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by net-tech- on 7/28/2023 in #djs-questions
Migrating to v14 (Typescript)
@dghfryuhigrdhuigrehuigre Not related, this is about components on a Message only accepting ActionRow and not allowing ActionRowBuilder
5 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
Property 'commands' does not exist even after module augmentation
and then after compiling you can run node on the compiled main file
21 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
Property 'commands' does not exist even after module augmentation
so that the compiled files go into a folder called dist
21 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
Property 'commands' does not exist even after module augmentation
so i would suggest setting an outDir in your tsconfig to something like dist
21 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
Property 'commands' does not exist even after module augmentation
never used ts-node again
21 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
Property 'commands' does not exist even after module augmentation
changing to file.endsWith(".js"), compiling with tsc and running compiled code
21 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
[TS] Command not found when trying to deploy commands after switching filter from .js to .ts
:/
18 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
[TS] Command not found when trying to deploy commands after switching filter from .js to .ts
[ 'ping.ts' ]
18 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
[TS] Command not found when trying to deploy commands after switching filter from .js to .ts
you mean what does commandFiles output when logged?
18 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
[TS] Command not found when trying to deploy commands after switching filter from .js to .ts
yes
18 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
[TS] Command not found when trying to deploy commands after switching filter from .js to .ts
Already done
18 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
Property 'commands' does not exist even after module augmentation
thank you either way
21 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
Property 'commands' does not exist even after module augmentation
so after only doing tsc it seems to work, i was running ts-node index.ts before
21 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
Property 'commands' does not exist even after module augmentation
thats weird
21 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
Property 'commands' does not exist even after module augmentation
wtf
21 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
Property 'commands' does not exist even after module augmentation
im targeting es2021
21 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
Property 'commands' does not exist even after module augmentation
what es version are you targeting, im doing es2021
21 replies
DIAdiscord.js - Imagine an app
Created by net-tech- on 8/18/2022 in #djs-questions
Property 'commands' does not exist even after module augmentation
yes already done
21 replies