From 45607989ed803cd82b1330d28cd29ce77ffcef08 Mon Sep 17 00:00:00 2001 From: Nick80835 Date: Thu, 14 Jan 2021 16:42:32 -0500 Subject: [PATCH] patch up nekos as files --- ubot/modules/nekos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: