Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

windows installer keeps giving tokeninvalid error #19

Open
accounterrorbot opened this issue Sep 28, 2023 · 0 comments
Open

windows installer keeps giving tokeninvalid error #19

accounterrorbot opened this issue Sep 28, 2023 · 0 comments

Comments

@accounterrorbot
Copy link

accounterrorbot commented Sep 28, 2023

ive attempted to set this up for hours, and im running under Windows 11.
making sure to keep putting the current token in, including giving the bot permissions.
i was wondering if there's a guide on how to do the windows installer? just in-case i didn't do it right or something.
sorry i got really stuck and im making an issue post. thank you

    if (response.status === 401) throw new DiscordjsError(ErrorCodes.TokenInvalid);
                                       ^

Error [TokenInvalid]: An invalid token was provided.
    at fetchRecommendedShardCount (C:\git\discord-twitter-video-embeds\node_modules\discord.js\src\util\Util.js:75:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ShardingManager.spawn (C:\git\discord-twitter-video-embeds\node_modules\discord.js\src\sharding\ShardingManager.js:199:16) {
  code: 'TokenInvalid'
}

Node.js v18.18.0
Error occured, restarting bot
time of error 22:31:51.39```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant