CorwinDev / Discord-Bot

Discord Bot with over 400 commands and made for large servers
MIT License
652 stars 600 forks source link

error start #241

Open AnonyDevQTR opened 6 days ago

AnonyDevQTR commented 6 days ago

hello i have configured everything but i have this error every time yet everything is good in environment ect i enclose error could you help me please.

error=

System >> Starting up ...

© CorwinDev | 2021 - 2024 All rights reserved

System >> Version 10.0.0 loaded

Unhandled promise rejection: Error [TokenMissing]: Request to use token, but token was unavailable to the client. at fetchRecommendedShardCount (C:\Users\Zeus\Desktop\Discord-Bot-main\node_modules\discord.js\src\util\Util.js:69:21) at ShardingManager.spawn (C:\Users\Zeus\Desktop\Discord-Bot-main\node_modules\discord.js\src\sharding\ShardingManager.js:197:22) at Object. (C:\Users\Zeus\Desktop\Discord-Bot-main\src\index.js:141:9) at Module._compile (node:internal/modules/cjs/loader:1378:14) at Module._extensions..js (node:internal/modules/cjs/loader:1437:10) at Module.load (node:internal/modules/cjs/loader:1212:32) at Module._load (node:internal/modules/cjs/loader:1028:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12) at node:internal/main/run_main_module:28:49 { code: 'TokenMissing' } Error sending unhandled promise rejection to webhook Error [TokenMissing]: Request to use token, but token was unavailable to the client. at fetchRecommendedShardCount (C:\Users\Zeus\Desktop\Discord-Bot-main\node_modules\discord.js\src\util\Util.js:69:21) at ShardingManager.spawn (C:\Users\Zeus\Desktop\Discord-Bot-main\node_modules\discord.js\src\sharding\ShardingManager.js:197:22) at Object. (C:\Users\Zeus\Desktop\Discord-Bot-main\src\index.js:141:9) at Module._compile (node:internal/modules/cjs/loader:1378:14) at Module._extensions..js (node:internal/modules/cjs/loader:1437:10) at Module.load (node:internal/modules/cjs/loader:1212:32) at Module._load (node:internal/modules/cjs/loader:1028:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12) at node:internal/main/run_main_module:28:49 { code: 'TokenMissing' }

TemelReyizz commented 6 days ago

code: 'TokenMissing' ur idiot or smth why u dont put in .env or config your TOKEN ID of bot..... iidot..

pt., 28 cze 2024 o 12:01 AnonyDevQTR @.***> napisał(a):

hello i have configured everything but i have this error every time yet everything is good in environment ect i enclose error could you help me please.

error=

System >> Starting up ...

© CorwinDev | 2021 - 2024 All rights reserved

System >> Version 10.0.0 loaded

Unhandled promise rejection: Error [TokenMissing]: Request to use token, but token was unavailable to the client. at fetchRecommendedShardCount (C:\Users\Zeus\Desktop\Discord-Bot-main\node_modules\discord.js\src\util\Util.js:69:21) at ShardingManager.spawn (C:\Users\Zeus\Desktop\Discord-Bot-main\node_modules\discord.js\src\sharding\ShardingManager.js:197:22) at Object. (C:\Users\Zeus\Desktop\Discord-Bot-main\src\index.js:141:9) at Module._compile (node:internal/modules/cjs/loader:1378:14) at Module._extensions..js (node:internal/modules/cjs/loader:1437:10) at Module.load (node:internal/modules/cjs/loader:1212:32) at Module._load (node:internal/modules/cjs/loader:1028:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12) at node:internal/main/run_main_module:28:49 { code: 'TokenMissing' } Error sending unhandled promise rejection to webhook Error [TokenMissing]: Request to use token, but token was unavailable to the client. at fetchRecommendedShardCount (C:\Users\Zeus\Desktop\Discord-Bot-main\node_modules\discord.js\src\util\Util.js:69:21) at ShardingManager.spawn (C:\Users\Zeus\Desktop\Discord-Bot-main\node_modules\discord.js\src\sharding\ShardingManager.js:197:22) at Object. (C:\Users\Zeus\Desktop\Discord-Bot-main\src\index.js:141:9) at Module._compile (node:internal/modules/cjs/loader:1378:14) at Module._extensions..js (node:internal/modules/cjs/loader:1437:10) at Module.load (node:internal/modules/cjs/loader:1212:32) at Module._load (node:internal/modules/cjs/loader:1028:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12) at node:internal/main/run_main_module:28:49 { code: 'TokenMissing' }

— Reply to this email directly, view it on GitHub https://github.com/CorwinDev/Discord-Bot/issues/241, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6DKCGAVHOIXH3EW4GRLL6TZJUYBNAVCNFSM6AAAAABKBRPEQOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4DAMBVHAZDKOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

AnonyDevQTR commented 6 days ago

my token is well added to the environment file I redo npm install I try to restart my always this error that appears

TemelReyizz commented 6 days ago

u should reset id token and put and start if u need help let me know in discord : xu8nun anyways corwinbot is fucked up bot. If u want a new handler and new commands let me know because i wanna share with others... If u do token missing u should renew your token id and will works anyways.

pt., 28 cze 2024 o 12:12 AnonyDevQTR @.***> napisał(a):

my token is well added to the environment file I redo npm install I try to restart my always this error that appears

— Reply to this email directly, view it on GitHub https://github.com/CorwinDev/Discord-Bot/issues/241#issuecomment-2196568282, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6DKCGF7UFTN6SMP5N2CX23ZJUZHLAVCNFSM6AAAAABKBRPEQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWGU3DQMRYGI . You are receiving this because you commented.Message ID: @.***>

AnonyDevQTR commented 6 days ago

I've already reset them, but that doesn't solve the problem.

TemelReyizz commented 6 days ago

add me on discord i will help u

pt., 28 cze 2024 o 12:20 AnonyDevQTR @.***> napisał(a):

I've already reset them, but that doesn't solve the problem.

— Reply to this email directly, view it on GitHub https://github.com/CorwinDev/Discord-Bot/issues/241#issuecomment-2196580668, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6DKCGBXROIMLTFPRXZHDXDZJU2G7AVCNFSM6AAAAABKBRPEQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWGU4DANRWHA . You are receiving this because you commented.Message ID: @.***>