Make main.py use environment variable for the secret

This commit is contained in:
G2-Games 2024-08-23 01:02:27 -05:00
parent e0cad01148
commit 0d1620d0bd

View file

@ -589,4 +589,4 @@ async def on_command_error(ctx, error):
print(error) print(error)
# Run the bot using the Discord bot token # Run the bot using the Discord bot token
bot.run("") bot.run(os.environ['DISCORD_SECRET'])