Closed Walterwhite233 closed 11 months ago
I have the same issue
I tried to post a get user info from Postman, it also returned 401 Unauthorized. Maybe it is from Discord
unfortunately I haven't found a solution until today... except to run two scripts =D
If you are trying to use discord.py-self and upstream discord.py in the same project, you must use the renamed branch. This is because the two libraries share the same namespace (i.e. import discord
) making them interfere with each other when used in the same environment.
Summary
Bot and client in one environment won't start
Reproduction Steps
Hello, I'm trying to start a bot and a client in different processes (first I tried it in two different files). But I keep getting an error message from the bot. Token is 100% correct. With other libraries he goes.
Code
Expected Results
Bot log in
Actual Results
discord.errors.LoginFailure: Improper token has been passed
System Information
Checklist
Additional Information
No response