mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-29 06:57:06 +00:00
🐛 PMC - Fix alias value
This commit is contained in:
parent
b7656274c3
commit
d84f255a19
@ -34,6 +34,9 @@ cmd_name = "pmcaptcha"
|
||||
log_collect_bot = "CloudreflectionPmcaptchabot"
|
||||
img_captcha_bot = "PagerMaid_Sam_Bot"
|
||||
|
||||
# Get alias for user command
|
||||
user_cmd_name = alias_command(cmd_name)
|
||||
|
||||
|
||||
def sort_line_number(m):
|
||||
try:
|
||||
@ -2629,8 +2632,6 @@ async def resume_states():
|
||||
if __name__ == "plugins.pmcaptcha":
|
||||
import gc
|
||||
|
||||
# Get alias for user command
|
||||
user_cmd_name = alias_command(cmd_name)
|
||||
# Force disabled for old PMCaptcha
|
||||
globals().get("SubCommand") and exit(0)
|
||||
# Flood Username confirm
|
||||
|
Loading…
Reference in New Issue
Block a user