Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -172,8 +172,9 @@ async def post_to_slack(author, content, channel, url, slack_mention, trigger):
|
|
172 |
|
173 |
|
174 |
# runs discord bot in thread = helps avoid blocking calls
|
|
|
|
|
175 |
def run_bot():
|
176 |
-
bot.loop.create_task(collect_pings())
|
177 |
bot.run(DISCORD_TOKEN)
|
178 |
threading.Thread(target=run_bot).start()
|
179 |
def greet(name):
|
|
|
172 |
|
173 |
|
174 |
# runs discord bot in thread = helps avoid blocking calls
|
175 |
+
bot.loop.create_task(collect_pings())
|
176 |
+
|
177 |
def run_bot():
|
|
|
178 |
bot.run(DISCORD_TOKEN)
|
179 |
threading.Thread(target=run_bot).start()
|
180 |
def greet(name):
|