INNER CODE UNIT · Python
list
TechXueXi/TechXueXi · SourcePackages/telegramListener.py:73
def list(message):
bot.send_chat_action(master, "typing")
msg = pdl.get_user_list()
bot.reply_to(message, msg)
@bot.message_handler(commands=['add'], func=authorize)
@exception_catcher(reserve_fun=bot.reply_to, fun_args=("Chrome 崩溃啦",), args_push=True)
def add(message):
bot.send_chat_action(master, "typing")
pdl.add_user()
@bot.message_handler(commands=['update'], func=authorize)
def rep_update(message):
try:
shell = "git -C /xuexi/code/TechXueXi pull $Sourcepath $pullbranche "
params = message.text.split(" ")