From d371d90be44e6ee2a3e7424b52e33801837758e2 Mon Sep 17 00:00:00 2001 From: manetta Date: Fri, 18 Feb 2022 15:15:03 +0100 Subject: [PATCH] simplifying the delete message --- LogBot/logbot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LogBot/logbot.py b/LogBot/logbot.py index b214e7f..cced24e 100644 --- a/LogBot/logbot.py +++ b/LogBot/logbot.py @@ -234,12 +234,12 @@ class Logbot(Bot): f"To be deleted: { self.db[message.room]['messages'][key] }" ) if 'media' in self.db[message.room]['messages'][key]: - reply = f"This message is deleted: { self.db[message.room]['messages'][key]['media']['url'] }" + reply = f"Deleted: { self.db[message.room]['messages'][key]['media']['url'] }" else: - reply = f"This message is deleted: { self.db[message.room]['messages'][key]['post'] }" + reply = f"Deleted: { self.db[message.room]['messages'][key]['post'] }" del self.db[message.room]["messages"][key] else: - reply = "This message is already gone!" + reply = "This one is already gone!" # Response to @title elif "@title" in message.text: