diff --git a/bot/commands/basehandler.py b/bot/commands/basehandler.py index c12b2ac..83f92ef 100644 --- a/bot/commands/basehandler.py +++ b/bot/commands/basehandler.py @@ -5,4 +5,4 @@ class BaseHandler: entry_string: str async def entry_point(self, update, context) -> None: - self.logger.info(f"Chat said: {self.entry_string}") \ No newline at end of file + self.logger.info(f"Chat ({update.message.chat_id}) said: {self.entry_string}") \ No newline at end of file diff --git a/bot/commands/status.py b/bot/commands/status.py index 8657446..5f003b9 100644 --- a/bot/commands/status.py +++ b/bot/commands/status.py @@ -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)