How to use TypeScript with your Discord Bot (and why)

preview_player
Показать описание
How to use TypeScript with your Discord Bot (and why)

Thanks for watching!
Рекомендации по теме
Комментарии
Автор

5:30 Correction: It skips checking declaration (d.ts) files in your project. I think I said node_modules because that's what I usually link declaration files to, or I just didn't realize what I said since I don't script every little detail lol.

UnderCtrl
Автор

Thank you so much, you posted it right in time.

amelookssus
Автор

Still cant change my mind from js to ts, i just love js lol

king_sentry
Автор

make a tutorial about how to make a bot using commandkit in typescript

looom
Автор

What is your icon pack on vs code? It's so nice

Auradomix
Автор

I still think it's better to use .js

ilham.mapper
Автор

i got an error while npm run dev



^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'E:\discord-bot\read' imported from E:\discord-bot\
at (node:internal/errors:496:5)
at new NodeError (node:internal/errors:405:5)
at finalizeResolution
at moduleResolve
at defaultResolve
at nextResolve
at nextResolve
at Hooks.resolve
at MessagePort.handleMessage
at
at exports.emitMessage {
code: 'ERR_MODULE_NOT_FOUND'
}



can you help me thanks

paintendo