change purchase notification bot
This commit is contained in:
parent
974ce96c32
commit
eb5cc3680f
|
|
@ -50,7 +50,7 @@ async def indexer_loop(memory, platform_found: bool, seqno: int) -> [bool, int]:
|
||||||
try:
|
try:
|
||||||
user = new_license.user
|
user = new_license.user
|
||||||
if user.telegram_id and licensed_content:
|
if user.telegram_id and licensed_content:
|
||||||
await (Wrapped_CBotChat(memory._telegram_bot, chat_id=user.telegram_id, user=user, db_session=session)).send_content(
|
await (Wrapped_CBotChat(memory._client_telegram_bot, chat_id=user.telegram_id, user=user, db_session=session)).send_content(
|
||||||
session, licensed_content
|
session, licensed_content
|
||||||
)
|
)
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue