mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-16 10:18:48 +00:00
🛠 PMC - Disable markdown generate function
This commit is contained in:
parent
c63191b146
commit
8f898c141d
@ -72,7 +72,7 @@
|
||||
},
|
||||
{
|
||||
"name": "pmcaptcha",
|
||||
"version": "2.13",
|
||||
"version": "2.14",
|
||||
"section": "chat",
|
||||
"maintainer": "cloudreflection,01101sam",
|
||||
"size": "20 kb",
|
||||
|
@ -2572,8 +2572,8 @@ async def chat_listener(_, msg: Message):
|
||||
description=f"{lang('plugin_desc')}\n{(lang('check_usage') % code(f',{cmd_name} h'))}")
|
||||
async def cmd_entry(_, msg: Message):
|
||||
cmd = Command(msg.from_user, msg)
|
||||
if msg.parameter[0] == "markdown":
|
||||
print(cmd._generate_markdown())
|
||||
# if msg.parameter[0] == "markdown":
|
||||
# print(cmd._generate_markdown())
|
||||
return await msg.delete()
|
||||
result, err_code, extra = await cmd._run_command()
|
||||
if not result:
|
||||
|
Loading…
Reference in New Issue
Block a user