txlyre 2 өдөр өмнө
parent
commit
5cfadb7cc0
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      openkriemy.py

+ 2 - 0
openkriemy.py

@@ -103,6 +103,8 @@ async def on_message(event):
                     return
 
             reply_prob = await get_markov_option(peer_id, "opt_reply_prob")
+            if reply_prob < 0:
+                return
 
             reply = await event.get_reply_message()
             if (