This commit is contained in:
jxxghp
2023-06-09 18:38:40 +08:00
parent 13b1ab4aac
commit 77b755da5f

View File

@ -183,5 +183,6 @@ class Telegram(metaclass=Singleton):
"""
停止Telegram消息接收服务
"""
if not self._bot:
self._bot.stop_polling()
self._polling_thread.join()