mirror of
https://github.com/G2-Games/simple-discord-music-bot.git
synced 2025-04-18 23:42:53 -05:00
Make main.py use environment variable for the secret
This commit is contained in:
parent
e0cad01148
commit
0d1620d0bd
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||
|
|
Loading…
Reference in a new issue