Set initial value to variable response
This commit is contained in:
parent
0eaeaaa757
commit
2026dc9a6a
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ async def message(self, message):
|
||||||
|
|
||||||
# await compose.message(self, jid, message)
|
# await compose.message(self, jid, message)
|
||||||
|
|
||||||
|
response = "Empty message (action only)."
|
||||||
message_text = " ".join(message["body"].split())
|
message_text = " ".join(message["body"].split())
|
||||||
if message["type"] == "groupchat":
|
if message["type"] == "groupchat":
|
||||||
message_text = message_text[1:]
|
message_text = message_text[1:]
|
||||||
|
|
Loading…
Reference in a new issue