From 0d1620d0bd0f4a5887c51ca846b6839d9768f0c7 Mon Sep 17 00:00:00 2001 From: G2-Games Date: Fri, 23 Aug 2024 01:02:27 -0500 Subject: [PATCH] Make main.py use environment variable for the secret --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 1e7ad71..2a47acc 100644 --- a/src/main.py +++ b/src/main.py @@ -589,4 +589,4 @@ async def on_command_error(ctx, error): print(error) # Run the bot using the Discord bot token -bot.run("") +bot.run(os.environ['DISCORD_SECRET'])