mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-12-01 09:44:44 +08:00
Update npm.py
This commit is contained in:
parent
46715e17aa
commit
dc83d6b469
@ -345,7 +345,7 @@ async def _(result: Arparma, event: T_MessageEvent, bot: T_Bot, npm: Matcher):
|
|||||||
btn_disable = md.btn_cmd(ulang.get("npm.disable_session"), "npm disable ", False, False)
|
btn_disable = md.btn_cmd(ulang.get("npm.disable_session"), "npm disable ", False, False)
|
||||||
btn_enable = md.btn_cmd(ulang.get("npm.enable_session"), "npm enable ", False, False)
|
btn_enable = md.btn_cmd(ulang.get("npm.enable_session"), "npm enable ", False, False)
|
||||||
reply = (
|
reply = (
|
||||||
f"\n# **{ulang.get("npm.help")}**"
|
f"\n# **{ulang.get('npm.help')}**"
|
||||||
f"\n{btn_update}"
|
f"\n{btn_update}"
|
||||||
f"\n>*{md.escape('npm update')}*\n"
|
f"\n>*{md.escape('npm update')}*\n"
|
||||||
f"\n{btn_install_}"
|
f"\n{btn_install_}"
|
||||||
@ -375,7 +375,7 @@ async def _(result: Arparma, event: T_MessageEvent, bot: T_Bot, npm: Matcher):
|
|||||||
btn_disable = md.btn_cmd(ulang.get("npm.disable_session"), "npm disable ", False, False)
|
btn_disable = md.btn_cmd(ulang.get("npm.disable_session"), "npm disable ", False, False)
|
||||||
btn_enable = md.btn_cmd(ulang.get("npm.enable_session"), "npm enable ", False, False)
|
btn_enable = md.btn_cmd(ulang.get("npm.enable_session"), "npm enable ", False, False)
|
||||||
reply = (
|
reply = (
|
||||||
f"\n# **{ulang.get("npm.help")}**"
|
f"\n# **{ulang.get('npm.help')}**"
|
||||||
f"\n{btn_disable}"
|
f"\n{btn_disable}"
|
||||||
f"\n>*{md.escape('npm disable <plugin_name>')}*\n"
|
f"\n>*{md.escape('npm disable <plugin_name>')}*\n"
|
||||||
f"\n{btn_enable}"
|
f"\n{btn_enable}"
|
||||||
|
Loading…
Reference in New Issue
Block a user