You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.
Hi, i get this error when i run the project?
Terminal Error:
TSError: тип Unable to compile TypeScript:
src/services/handlers/guildCreate.handler.ts:17:25 - error TS2339: Property 'send' does not exist on type 'TextChannel'.
17 return channel?.send(Hey, I'm a Bot which is made from Star Bot Builder!);
~~~~
at createTSError (C:\Users\sunds\Desktop\wadwad\node_modules\ts-node\src\index.ts:434:12)
at reportTSError (C:\Users\sunds\Desktop\wadwad\node_modules\ts-node\src\index.ts:438:19)
at getOutput (C:\Users\sunds\Desktop\wadwad\node_modules\ts-node\src\index.ts:578:36)
at Object.compile (C:\Users\sunds\Desktop\wadwad\node_modules\ts-node\src\index.ts:775:32)
at Module.m._compile (C:\Users\sunds\Desktop\wadwad\node_modules\ts-node\src\index.ts:858:43)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Object.require.extensions.<computed> [as .ts] (C:\Users\sunds\Desktop\wadwad\node_modules\ts-node\src\index.ts:861:12)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (C:\Users\sunds\Desktop\wadwad\src\services\events.service.ts:7:1)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Module.m._compile (C:\Users\sunds\Desktop\wadwad\node_modules\ts-node\src\index.ts:858:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Object.require.extensions.<computed> [as .ts] (C:\Users\sunds\Desktop\wadwad\node_modules\ts-node\src\index.ts:861:12)
C:\Users\sunds\Desktop\wadwad>npm start
npm WARN config global --global, --local are deprecated. Use --location=global instead.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, i get this error when i run the project?
Terminal Error:
TSError: тип Unable to compile TypeScript:
src/services/handlers/guildCreate.handler.ts:17:25 - error TS2339: Property 'send' does not exist on type 'TextChannel'.
17 return channel?.send(Hey, I'm a Bot which is made from Star Bot Builder!);
~~~~
C:\Users\sunds\Desktop\wadwad>npm start
npm WARN config global --global, --local are deprecated. Use --location=global instead.
The text was updated successfully, but these errors were encountered: