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
C:\Users\user\Desktop\bot\bot\node_modules\discord.js\src\client\Client.js:237
if (!token || typeof token !== 'string') throw new Error('TOKEN_INVALID');
^
Error [TOKEN_INVALID]: An invalid token was provided.
at Client.login (C:\Users\user\Desktop\bot\bot\node_modules\discord.js\src\client\Client.js:237:52)
at new Bot (C:\Users\user\Desktop\bot\bot\structs\Bot.ts:20:17)
at Object. (C:\Users\user\Desktop\bot\bot\index.ts:4:20)
at Module._compile (node:internal/modules/cjs/loader:1205:14)
at Module.m._compile (C:\Users\user\Desktop\bot\bot\node_modules\ts-node\src\index.ts:1618:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1259:10)
at Object.require.extensions. [as .ts] (C:\Users\user\Desktop\bot\bot\node_modules\ts-node\src\index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:1068:32)
at Function.Module._load (node:internal/modules/cjs/loader:909:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:82:12) {
[Symbol(code)]: 'TOKEN_INVALID'
i put token into config.json and have no idea whats wrong
i tried to reset token few times, still nothing
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
C:\Users\user\Desktop\bot\bot\node_modules\discord.js\src\client\Client.js:237
if (!token || typeof token !== 'string') throw new Error('TOKEN_INVALID');
^
Error [TOKEN_INVALID]: An invalid token was provided.
at Client.login (C:\Users\user\Desktop\bot\bot\node_modules\discord.js\src\client\Client.js:237:52)
at new Bot (C:\Users\user\Desktop\bot\bot\structs\Bot.ts:20:17)
at Object. (C:\Users\user\Desktop\bot\bot\index.ts:4:20)
at Module._compile (node:internal/modules/cjs/loader:1205:14)
at Module.m._compile (C:\Users\user\Desktop\bot\bot\node_modules\ts-node\src\index.ts:1618:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1259:10)
at Object.require.extensions. [as .ts] (C:\Users\user\Desktop\bot\bot\node_modules\ts-node\src\index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:1068:32)
at Function.Module._load (node:internal/modules/cjs/loader:909:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:82:12) {
[Symbol(code)]: 'TOKEN_INVALID'
i put token into config.json and have no idea whats wrong
i tried to reset token few times, still nothing
Beta Was this translation helpful? Give feedback.
All reactions