diff --git a/stdplugins/stickers2.py b/stdplugins/stickers2.py index 20981bcd49..7eb4e72429 100644 --- a/stdplugins/stickers2.py +++ b/stdplugins/stickers2.py @@ -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):