I’m getting an error when trying to run the
raise KeyError(key) from None KeyError: 'DISCORD_TOKEN'
I’m unable to connect my Discord bot to the server. I have a
.env file in the same directory as the
bot.py script, but when I try to run it I’m getting the following error:
Has anyone run into this issue before or have any ideas on how to fix it?