Better chat id handling
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-08-14 11:47:13 +02:00
parent 3975ca5997
commit 1bc829f53d
2 changed files with 2 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ class StatusHandler(BaseHandler):
message += f"Uptime: `{delta[:delta.rfind('.')]}`\n"
message += f"IP \(public\): `{ip}`\n"
message += f"IP \(private\): `{local_ips}`\n"
message += f"Chat ID: `{update.effective_chat.id}`\n"
if update.message:
await update.message.reply_text(message, reply_markup=reply_markup, parse_mode=ParseMode.MARKDOWN_V2)