adryd325 / discord-twitter-video-embeds

A Discord bot that fixes broken Twitter, TikTok and Reddit Embeds. This repository is archved in a BROKEN STATE. I'm uninterested in continuing to maintain it.
https://adryd.co/twitter-embeds
MIT License
82 stars 10 forks source link

windows installer keeps giving tokeninvalid error #19

Open accounterrorbot opened 11 months ago

accounterrorbot commented 11 months ago

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```