diff --git a/anjani_bot/plugins/misc.py b/anjani_bot/plugins/misc.py index 858d8997a..c38a5b84e 100644 --- a/anjani_bot/plugins/misc.py +++ b/anjani_bot/plugins/misc.py @@ -149,6 +149,7 @@ async def src(self, message): @listener.on("slap", filters.group) async def neko_slap(self, message): """ Slap member with neko slap. """ + text = " ".join(message.command) chat_id = message.chat.id async with self.bot.http.get( 'https://www.nekos.life/api/v2/img/slap') as slap: @@ -161,5 +162,5 @@ async def neko_slap(self, message): await self.bot.client.send_animation( message.chat.id, res["url"], - reply_to_message_id=reply_to.message_id + reply_to_message_id=reply_to.message_id, caption=text, )