Skip to content

Commit 75d9364

Browse files
committed
Use Client.try_connect in Bot when connecting to all connections
1 parent 012d30e commit 75d9364

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloudbot/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def _init_routine(self):
221221
self.observer.start()
222222

223223
# Connect to servers
224-
yield from asyncio.gather(*[conn.connect() for conn in self.connections.values()], loop=self.loop)
224+
yield from asyncio.gather(*[conn.try_connect() for conn in self.connections.values()], loop=self.loop)
225225

226226
# Activate web interface.
227227
if self.config.get("web", {}).get("enabled", False) and web_installed:

0 commit comments

Comments
 (0)