mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-26 13:56:39 +00:00
🚑 PMCaptcha Critical bug fix - stuck when using image mode
This commit is contained in:
parent
248042e122
commit
7fe5deabb9
@ -72,7 +72,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "pmcaptcha",
|
"name": "pmcaptcha",
|
||||||
"version": "2.03",
|
"version": "2.04",
|
||||||
"section": "chat",
|
"section": "chat",
|
||||||
"maintainer": "cloudreflection,01101sam",
|
"maintainer": "cloudreflection,01101sam",
|
||||||
"size": "54.6 kb",
|
"size": "54.6 kb",
|
||||||
|
@ -1326,6 +1326,7 @@ class ImageChallenge(CaptchaChallenge):
|
|||||||
self.save_state({"try_count": self.try_count})
|
self.save_state({"try_count": self.try_count})
|
||||||
await bot.block_user(self.user.id)
|
await bot.block_user(self.user.id)
|
||||||
return
|
return
|
||||||
|
break
|
||||||
except TimeoutError:
|
except TimeoutError:
|
||||||
break # Fallback
|
break # Fallback
|
||||||
except FloodWait as e:
|
except FloodWait as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user