From 806ef07e0c309dbe1803277d8ab8faa41cfd3e33 Mon Sep 17 00:00:00 2001 From: dece Date: Fri, 6 Nov 2020 12:24:16 +0100 Subject: [PATCH] bot: add some logs --- edmond/bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/edmond/bot.py b/edmond/bot.py index afd5067..7c6f1bc 100644 --- a/edmond/bot.py +++ b/edmond/bot.py @@ -109,6 +109,7 @@ class Bot(irc.client.SimpleIRCClient, Logger): """Connect the bot to server, join channels and start responding.""" self.log_i("Starting Edmond.") self.load_plugins() + self.log_i("Connecting to server.") self.connect(self.config["host"], self.config["port"], self.nick) try: self.start() @@ -118,6 +119,7 @@ class Bot(irc.client.SimpleIRCClient, Logger): def load_plugins(self): """Load all installed plugins.""" + self.log_i("Loading plugins.") plugin_files = os.listdir(Path(__file__).parent / "plugins") plugin_names = map( lambda f: os.path.splitext(f)[0],