Skip to content

Commit

Permalink
Added possible keys
Browse files Browse the repository at this point in the history
  • Loading branch information
kanewi11 committed Nov 9, 2022
1 parent 9860d08 commit d922720
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
'app_version': ['app_version'],
'device_model': ['device_model', 'device'],
'system_version': ['system_version', 'sdk'],
'phone_number': ['phone_number', 'phone']
'phone_number': ['phone_number', 'phone'],
'lang_code': ['lang_code'],
'ipv6': ['ipv6'],
'proxy': ['proxy'],
}

EMOJIS = ['👍', '❤️', '🔥', '🥰', '👏', '😁', '🤔', '🎉', '🤩', '⚡️', '💯', '❤️‍🔥']
1 change: 1 addition & 0 deletions reactionbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ async def send_reaction(client: Client, message: types.Message) -> None:
emoji = random.choice(EMOJIS)
try:
await client.send_reaction(chat_id=message.chat.id, message_id=message.id, emoji=emoji)

except ReactionInvalid:
logging.warning(f'{emoji} - INVALID REACTION')
except UserDeactivatedBan:
Expand Down

0 comments on commit d922720

Please sign in to comment.