Discord Bot problems
Ok so i have started using discord and made this bot a while ago, and it worked fine but now when i try to run it it gives me an error with the first line being about
client.run() im very confused.
These are the errors ive been getting. Please run the bot yourself to see the full list.
I think my answer seems to work check it out below or above idk. But I think it has to do with the mirror package of discord.py. Delete or remove the discord package from your packages on the side and install discord.py. Install it using pip if it doesn't install from the sidebar thing (
pip install discord.py). Also import discord.py like
Delete the token.env and create a new file just named .env with the token in it like you did before.
If its not .env I don't know if os.getenv will pick it up, but also repl will show your token to everyone if its not just .env.
Anyways, the thing is, we will never be able to see your error because repl.it will not show the .env file for us, thus breaking the bot (no .env file, no token)