SinisterRectus / Discordia

Discord API library written in Lua for the Luvit runtime environment
MIT License
688 stars 144 forks source link

I got a 401 error when trying to connect my discord bot. #374

Closed exatron2300 closed 1 year ago

exatron2300 commented 1 year ago

So i got a 401 error when trying to run my discord bot " [INFO] | Discordia 2.11.2 | [INFO] | Connecting to Discord... | [ERROR] | 401 - Unauthorized : GET https://discord.com/api/v8/users/@me | [ERROR] | Could not authenticate, check token: HTTP Error 0 : 401: Unauthorized"

My script has a correct token, as I checked multiple times to see if I entered the good token. I also added "Bot " before my token and it still didn't change anything. image