bridge_with_irc: Print message on successful connection.

This commit is contained in:
orientor 2020-03-02 03:53:50 +05:30 committed by showell
parent dd37e27b36
commit 731eb23c9a

View file

@ -33,6 +33,7 @@ class IRCBot(irc.bot.SingleServerIRCBot):
self.reactor.loop.run_until_complete( self.reactor.loop.run_until_complete(
self.connection.connect(*args, **kwargs) self.connection.connect(*args, **kwargs)
) )
print("Connected to IRC server.")
def on_nicknameinuse(self, c, e): def on_nicknameinuse(self, c, e):
# type: (ServerConnection, Event) -> None # type: (ServerConnection, Event) -> None