bridge_with_irc: Print message on successful connection.
This commit is contained in:
parent
dd37e27b36
commit
731eb23c9a
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue