TheHamkerCat 5 anni fa
parent
commit
4311960678
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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: