Update simple_commands.py
This commit is contained in:
@ -87,8 +87,8 @@ def stats(bot, update):
|
|||||||
us = UserSetting.get(id=user.id)
|
us = UserSetting.get(id=user.id)
|
||||||
if not us or not us.stats:
|
if not us or not us.stats:
|
||||||
send_async(bot, update.message.chat_id,
|
send_async(bot, update.message.chat_id,
|
||||||
text=_("您尚未啟用統計資料,請私我 "
|
text=_("您尚未啟用統計資料,請私我 "
|
||||||
"<code>/settings</code> 來啟用他"))
|
"<code>/settings</code> 來啟用他", parse_mode=ParseMode.HTML))
|
||||||
else:
|
else:
|
||||||
stats_text = list()
|
stats_text = list()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user