mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
feat(telegram): add delete_commands
This commit is contained in:
@@ -256,6 +256,15 @@ class Telegram:
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def delete_commands(self):
|
||||||
|
"""
|
||||||
|
清理菜单命令
|
||||||
|
"""
|
||||||
|
if not self._bot:
|
||||||
|
return
|
||||||
|
# 清理菜单命令
|
||||||
|
self._bot.delete_my_commands()
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
"""
|
"""
|
||||||
停止Telegram消息接收服务
|
停止Telegram消息接收服务
|
||||||
|
|||||||
Reference in New Issue
Block a user