Merge branch 'dev-s4u' of https://github.com/MaiM-with-u/MaiBot into dev-s4u
This commit is contained in:
1
bot.py
1
bot.py
@@ -315,7 +315,6 @@ if __name__ == "__main__":
|
||||
# We can run console_input_loop concurrently.
|
||||
main_tasks = loop.create_task(main_system.schedule_tasks())
|
||||
console_task = loop.create_task(console_input_loop(main_system))
|
||||
|
||||
# Wait for all tasks to complete (which they won't, normally)
|
||||
loop.run_until_complete(asyncio.gather(main_tasks, console_task))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user