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

  Рет қаралды 14,706

Under Ctrl

Under Ctrl

Күн бұрын

Пікірлер: 26
@UnderCtrl
@UnderCtrl Жыл бұрын
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. Code editor: cursor.sh (It's a VSCode fork)
@ItsAshAU
@ItsAshAU Жыл бұрын
Cursor does look interesting, im going to check it out now :D thanks for the awesome video
@amelookssus
@amelookssus Жыл бұрын
Thank you so much, you posted it right in time.
@ronykax
@ronykax Жыл бұрын
This is really helpful man tysm
@king_sentry
@king_sentry 6 ай бұрын
Still cant change my mind from js to ts, i just love js lol
@wilsbrous5065
@wilsbrous5065 2 ай бұрын
Just spent the last 5 hours rewriting the handler you showed us how to make into TS.
@0looom
@0looom Жыл бұрын
make a tutorial about how to make a bot using commandkit in typescript
@UnderCtrl
@UnderCtrl Жыл бұрын
Thanks for the suggestion
@ItsPinion
@ItsPinion 10 ай бұрын
nice i needed that
@auradomix
@auradomix 8 ай бұрын
What is your icon pack on vs code? It's so nice
@UnderCtrl
@UnderCtrl 8 ай бұрын
Hey. It's been a while but I believe this was the bearded icon pack. Thanks :)
@auradomix
@auradomix 7 ай бұрын
@@UnderCtrl Thanks. I'm trying your tutorials on DJS v14 with TypeScript and it work great.
@FallingAsleepCoder
@FallingAsleepCoder 2 ай бұрын
are you using cursor ai ?
@sirdev
@sirdev Ай бұрын
or just start using rust and use neither ts or js :)
@apeirophobia0
@apeirophobia0 Жыл бұрын
make a bot dashboard
@foreveronestepahead
@foreveronestepahead Жыл бұрын
theme name please!!
@UnderCtrl
@UnderCtrl Жыл бұрын
it’s a vscode fork: cursor.so
@YK-zs7kx
@YK-zs7kx Жыл бұрын
"build" not working why
@Duluper
@Duluper 3 ай бұрын
did you configure it in the config.json?
@devgauravjatt
@devgauravjatt Жыл бұрын
File icons
@ilham.mapper49
@ilham.mapper49 Жыл бұрын
I still think it's better to use .js
@UnderCtrl
@UnderCtrl Жыл бұрын
Fair enough. Any specific reasons why?
@SleepySkiing-ec5qk
@SleepySkiing-ec5qk Жыл бұрын
@@UnderCtrl Has more module's
@bryceblazegamingyt9741
@bryceblazegamingyt9741 11 ай бұрын
The same modules work the same ​@@SleepySkiing-ec5qk
@paintendo1251
@paintendo1251 Жыл бұрын
i got an error while npm run dev node:internal/process/esm_loader:46 internalBinding('errors').triggerUncaughtException( ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'E:\discord-bot ead' imported from E:\discord-bot\ at __node_internal_captureLargerStackTrace (node:internal/errors:496:5) at new NodeError (node:internal/errors:405:5) at finalizeResolution (node:internal/modules/esm/resolve:224:11) at moduleResolve (node:internal/modules/esm/resolve:837:10) at defaultResolve (node:internal/modules/esm/resolve:1035:11) at nextResolve (node:internal/modules/esm/hooks:726:28) at d (file:///E:/discord-bot/node_modules/tsx/dist/esm/index.mjs:5:34) at O (file:///E:/discord-bot/node_modules/tsx/dist/esm/index.mjs:5:1187) at nextResolve (node:internal/modules/esm/hooks:726:28) at Hooks.resolve (node:internal/modules/esm/hooks:235:30) at MessagePort.handleMessage (node:internal/modules/esm/worker:168:24) at [nodejs.internal.kHybridDispatch] (node:internal/event_target:762:20) at exports.emitMessage (node:internal/per_context/messageport:23:28) { code: 'ERR_MODULE_NOT_FOUND' } can you help me thanks
@paintendo1251
@paintendo1251 Жыл бұрын
my fault, i using read on my config,js :v
Boost your Discord Bot Performance with Redis ⚡️
16:49
Under Ctrl
Рет қаралды 7 М.
Migrating 3.7 Million Lines Of Code
23:06
ThePrimeTime
Рет қаралды 149 М.
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
Зачем нужен TypeScript - простые примеры использования
17:05
Михаил Непомнящий
Рет қаралды 46 М.
🧠 Multi-Player Rock Paper Scissors Bot Tutorial (Discord.js)
18:55
How to make a Discord Bot for Beginners (Discord.js v14)
27:29
Under Ctrl
Рет қаралды 383 М.
Something is wrong with ISPs in India 🇮🇳
13:17
Mehul - Codedamn
Рет қаралды 90 М.
Code a Discord Bot with Python - Host for Free in the Cloud
1:08:28
freeCodeCamp.org
Рет қаралды 2,4 МЛН
How to Build a Discord Bot
4:41
Beyond Fireship
Рет қаралды 273 М.
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН