debug logger for all received tg messages
This commit is contained in:
parent
49cdb48bba
commit
d19512e3eb
1 changed files with 2 additions and 0 deletions
|
@ -460,6 +460,8 @@ class DelojzaBot:
|
|||
return ytdl_res or raw_res
|
||||
|
||||
def tg_handle(self, bot, update):
|
||||
self.logger.debug(f"Received from: {update.message.from_user} ({update.message.chat.id}): " +
|
||||
update.message.text)
|
||||
hashtags = self._get_hashtags(update.message)
|
||||
if hashtags:
|
||||
url_res = self.handle_urls(update.message, self._get_hashtags(update.message))
|
||||
|
|
Loading…
Reference in a new issue