journal-bot/bot/commands/basehandler.py
Remy Moll 1bc829f53d
All checks were successful
continuous-integration/drone/push Build is passing
Better chat id handling
2023-08-14 11:47:13 +02:00

8 lines
243 B
Python

import logging
class BaseHandler:
logger = logging.getLogger(__name__)
entry_string: str
async def entry_point(self, update, context) -> None:
self.logger.info(f"Chat ({update.message.chat_id}) said: {self.entry_string}")