echo-v1.0 - added check for chat type to avoid group chat spamming

This commit is contained in:
dymik739 2022-10-23 17:27:47 +03:00
parent 84d6b3d58f
commit 67271b9ad8
1 changed files with 2 additions and 1 deletions

View File

@ -1 +1,2 @@
self.RESPONCE = self.MESSAGE["text"]
if msg.chat["type"] == "private":
self.RESPONCE = self.MESSAGE["text"]