Merge branch 'dev' of https://github.com/cedrick2711/team-tryouts
This commit is contained in:
+1
-1
@@ -358,7 +358,7 @@ def create_app():
|
||||
# Start the Discord bot for notifications
|
||||
try:
|
||||
from app.discord_bot import start_bot
|
||||
start_bot()
|
||||
start_bot(flask_app=app)
|
||||
except Exception as e:
|
||||
app.logger.warning('Could not start Discord bot: %s', e)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user