We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69c6a92 commit b322d3eCopy full SHA for b322d3e
1 file changed
config.py
@@ -200,7 +200,7 @@ def update_info_message(user_id = None):
200
f"**🔑 API:** `{replace_with_asterisk(api_key)}`\n\n" if api_key else "",
201
f"**🔗 API URL:** `{api_url}`\n\n" if api_url else "",
202
f"**🛜 WEB HOOK:** `{WEB_HOOK}`\n\n" if WEB_HOOK else "",
203
- f"**🚰 Tokens usage:** `{get_robot(user_id)[0].tokens_usage[str(user_id)]}`\n\n",
+ f"**🚰 Tokens usage:** `{get_robot(user_id)[0].tokens_usage[str(user_id)]}`\n\n" if get_robot(user_id)[0] else "",
204
f"**📖 Version:** `{get_version_info()}`\n\n",
205
])
206
0 commit comments