From 99255138f1cddba286c57a413d6a8ec931cf248a Mon Sep 17 00:00:00 2001 From: dan63047 Date: Tue, 12 May 2020 12:26:39 +0300 Subject: [PATCH] !midnight hot fix --- dan63047bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dan63047bot.py b/dan63047bot.py index da93b1a..94b7e76 100644 --- a/dan63047bot.py +++ b/dan63047bot.py @@ -129,8 +129,8 @@ class VkBot: elif random_thing == 2: midnight_output += "Цвет дня в формате HEX: #%02x%02x%02x" % (random.randint(0, 255), random.randint(0, 255), random.randint(0, 255)) - self.send(midnight_output) - log(False, f"Бот id{self._CHAT_ID} оповестил о миднайте", image) + self.send(midnight_output, image) + log(False, f"Бот id{self._CHAT_ID} оповестил о миднайте") def get_message(self, message, user_id): if self._ECHO_MODE: