From 71ecf3b440aa86796645f4bf0c661a1d72a3d642 Mon Sep 17 00:00:00 2001 From: Georgios Atheridis Date: Mon, 18 Apr 2022 17:20:40 +0300 Subject: [PATCH] added message to start --- aptbot/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aptbot/__main__.py b/aptbot/__main__.py index 2d26607..579e08d 100644 --- a/aptbot/__main__.py +++ b/aptbot/__main__.py @@ -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() -- 2.30.2