mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update mw.py
This commit is contained in:
+1
-2
@@ -28,8 +28,6 @@ import re
|
||||
import db
|
||||
from random import Random
|
||||
|
||||
import telebot
|
||||
|
||||
|
||||
def execShell(cmdstring, cwd=None, timeout=None, shell=True):
|
||||
|
||||
@@ -1692,6 +1690,7 @@ def writeNotify(data):
|
||||
|
||||
|
||||
def tgbotNotifyObject(app_token):
|
||||
import telebot
|
||||
bot = telebot.TeleBot(app_token)
|
||||
return bot
|
||||
|
||||
|
||||
Reference in New Issue
Block a user