QiCuiHub / discord-audio-pipe

Route computer audio into a discord bot
MIT License
152 stars 17 forks source link

Token Error: No Token Provided #43

Open Lexi-the-Red opened 1 year ago

Lexi-the-Red commented 1 year ago

Describe the bug I have been using DAP for some time to play Syrinscape in Discord. I just reinstalled Windows, and now when I attempt to run DAP I get an error message that pops up that is titled Token Error, and the message is No Token Provided. I have followed the instructions to the letter, and I have the token.txt file in the same folder as the DAP executable.

To Reproduce Downloaded DAP executable, created a new bot in Discord and invited it to my server, created a token.txt file in the same folder as the DAP executable, copied the token from Discord to the txt file, saved it, then attempted to run DAP.

Expected behavior I expected DAP to run as it has so that I could put the bot in a voice channel.

Error log No error log, but attached is a screenshot of the message received. Annotation 2023-08-27 170021

System Info

Additional context I've never had issues with this previously, but now after a windows reinstall I am unable to get it to work correctly.

QiCuiHub commented 1 year ago

This is usually caused by windows file extensions being hidden, so the filename ends up being token.txt.txt https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/How-to-enable-hidden-file-extensions-in-Windows.html