支持添加 log 频道
This commit is contained in:
parent
bb6b17f3b1
commit
e694ba4618
4
func.py
4
func.py
@ -77,8 +77,8 @@ def rank(update, context):
|
|||||||
if not CHANNEL == 0:
|
if not CHANNEL == 0:
|
||||||
ctext = f'#WORDCLOUD #APPLY \n' \
|
ctext = f'#WORDCLOUD #APPLY \n' \
|
||||||
f'群组 ID:`{chat_id}`\n' \
|
f'群组 ID:`{chat_id}`\n' \
|
||||||
f'用户 ID:`{user_id}' \
|
f'用户 ID:`{user_id}`\n' \
|
||||||
f'执行操作:`主动生成词云`\n'
|
f'执行操作:`主动生成词云`'
|
||||||
bot.send_message(chat_id=CHANNEL, text=ctext, parse_mode="Markdown")
|
bot.send_message(chat_id=CHANNEL, text=ctext, parse_mode="Markdown")
|
||||||
update.message.reply_text("统计数据将在分析完毕后发送到当前群组,请稍等~")
|
update.message.reply_text("统计数据将在分析完毕后发送到当前群组,请稍等~")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user