Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
prono69 committed May 12, 2020
1 parent 7cacbaa commit 095a61f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stdplugins/stickers2.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,13 @@ async def kang(args):
if not user.username:
user.username = user.first_name
message = await args.get_reply_message()
input_str = event.pattern_match.group(1)
photo = None
emojibypass = False
is_anim = False
emoji = None
if input_str:
emoji = input_str

if message and message.media:
if isinstance(message.media, MessageMediaPhoto):
Expand Down

0 comments on commit 095a61f

Please sign in to comment.