mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-14 14:57:25 +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