Spaces:
Build error
Build error
Commit
·
5ed973f
1
Parent(s):
52a252b
Deploy Discord Bot
Browse files
app.py
CHANGED
|
@@ -102,6 +102,7 @@ async def on_message(message):
|
|
| 102 |
def run_bot():
|
| 103 |
if not DISCORD_TOKEN:
|
| 104 |
print("DISCORD_TOKEN NOT SET")
|
|
|
|
| 105 |
else:
|
| 106 |
bot.run(DISCORD_TOKEN)
|
| 107 |
|
|
|
|
| 102 |
def run_bot():
|
| 103 |
if not DISCORD_TOKEN:
|
| 104 |
print("DISCORD_TOKEN NOT SET")
|
| 105 |
+
event.set()
|
| 106 |
else:
|
| 107 |
bot.run(DISCORD_TOKEN)
|
| 108 |
|