uppercase DISCORD_TOKEN
This commit is contained in:
parent
8706a8144c
commit
902eeead5a
1 changed files with 2 additions and 2 deletions
|
|
@ -4,8 +4,8 @@ from src.bot import bot
|
|||
|
||||
def main():
|
||||
load_dotenv()
|
||||
discord_token = os.getenv('discord_token')
|
||||
bot.run(discord_token, root_logger=True)
|
||||
DISCORD_TOKEN = os.getenv('discord_token')
|
||||
bot.run(DISCORD_TOKEN, root_logger=True)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue