We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccc7ad3 commit 68fe696Copy full SHA for 68fe696
1 file changed
irc_bot.py
@@ -33,6 +33,7 @@ def __init__(self, config_obj):
33
self.nickserv_auth = False
34
self.shutdown = False
35
self._handler_tasks = set()
36
+ self._logger = logging.getLogger("IRCMainLoop")
37
38
async def start(self):
39
self.conn = IrcConnection()
@@ -69,7 +70,6 @@ async def start(self):
69
70
self.loglevel,
71
)
72
- self._logger = logging.getLogger("IRCMainLoop")
73
self._logger.info("Connected to %s", self.host)
74
self._logger.info("BOT IS NOW ONLINE: Starting to listen for server responses.")
75
0 commit comments