added message to start
authorGeorgios Atheridis <atheridis@tutamail.com>
Mon, 18 Apr 2022 14:20:40 +0000 (17:20 +0300)
committerGeorgios Atheridis <atheridis@tutamail.com>
Mon, 18 Apr 2022 14:20:40 +0000 (17:20 +0300)
aptbot/__main__.py

index 2d26607bc322ec070ca0d38949be56fcb6dedcc8..579e08db68267caf85b6dd1156b64da186a2f94c 100644 (file)
@@ -51,7 +51,7 @@ def start(bot: aptbot.bot.Bot, modules: dict[str, ModuleType]):
     for channel in modules:
         update_channel = Thread(
             target=modules[channel].start,
-            args=(bot, )
+            args=(bot, aptbot.bot.Message({}, "", None, channel, ""), )
         )
         update_channel.daemon = True
         update_channel.start()