diff --git a/ubot/modules/nekos.py b/ubot/modules/nekos.py index d6db82e..bffa786 100644 --- a/ubot/modules/nekos.py +++ b/ubot/modules/nekos.py @@ -13,7 +13,7 @@ REPLY_TYPES = ['cuddle', 'hug', 'slap', 'spank', 'pat', 'baka', 'kiss', 'blowjob @ldr.add_list(NEKO_TYPES_NSFW, nsfw=True, pattern_extra="(f|)", userlocking=True) @ldr.add_list(NEKO_TYPES, pattern_extra="(f|)", userlocking=True) async def supernekoatsume(event): - nekotype = event.command.lower() + nekotype = event.object.pattern as_file = bool(event.other_args[0]) if nekotype in REPLY_TYPES: