From 2026dc9a6ac3edcc741cf6fad0a60e06f177c3b3 Mon Sep 17 00:00:00 2001 From: Schimon Jehudah Date: Tue, 2 Jan 2024 12:29:48 +0000 Subject: [PATCH] Set initial value to variable response --- slixfeed/xmpp/process.py | 1 + 1 file changed, 1 insertion(+) diff --git a/slixfeed/xmpp/process.py b/slixfeed/xmpp/process.py index 57fd432..65907bf 100644 --- a/slixfeed/xmpp/process.py +++ b/slixfeed/xmpp/process.py @@ -137,6 +137,7 @@ async def message(self, message): # await compose.message(self, jid, message) + response = "Empty message (action only)." message_text = " ".join(message["body"].split()) if message["type"] == "groupchat": message_text = message_text[1:]