Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Fix func
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCoderCarl committed Oct 22, 2022
1 parent 8fd4fb7 commit ee48632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ async def response_to_group(event):
# send_message_template(user_data, event, 1, 5, HR_RESPONSE)
pass
elif user_data.id in FRIENDS_IDS:
send_message_template(user_data, event, 5, 10, FRIEND_RESPONSE)
await send_message_template(user_data, event, 5, 10, FRIEND_RESPONSE)
elif user_data.id in FAMILIAR_IDS:
send_message_template(user_data, event, 15, 20, FAMILIAR_RESPONSE)
await send_message_template(user_data, event, 15, 20, FAMILIAR_RESPONSE)
except ValueError as val_err:
logging.error(f"Sender is {user_data.first_name}")
logging.error(val_err)
Expand Down

0 comments on commit ee48632

Please sign in to comment.