TheHamkerCat 5 tahun lalu
induk
melakukan
4311960678
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      wbb/modules/genstr.py

+ 4 - 0
wbb/modules/genstr.py

@@ -28,7 +28,11 @@ async def genstr(_, message):
         if not number.text:
             continue
         phone = number.text.strip()
+        if phone.startswith("/"):
+            continue
         confirm = await app.ask(chat.id, f'`Is "{phone}" correct?` \n\nSend: `y`\nSend: `n`')
+        if confirm.text.startswith("/"):
+            continue
         if "y" in confirm.text.lower():
             break
     try: