From 06d34118c3e4af4b4db7fece19fbb47c69e70ed2 Mon Sep 17 00:00:00 2001 From: rking32 Date: Thu, 15 Oct 2020 21:49:37 +0530 Subject: [PATCH] downgrade python version due to memory error --- runtime.txt | 2 +- userge/plugins/fun/kang.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime.txt b/runtime.txt index 67068f10f..1124509c8 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.9.0 \ No newline at end of file +python-3.8.5 \ No newline at end of file diff --git a/userge/plugins/fun/kang.py b/userge/plugins/fun/kang.py index 20069b516..d5c5a778f 100644 --- a/userge/plugins/fun/kang.py +++ b/userge/plugins/fun/kang.py @@ -66,7 +66,7 @@ async def kang_(message: Message): await message.edit("`I can't kang that...`") return if photo: - args = message.input_str.split() + args = message.filtered_input_str.split() pack = 1 if len(args) == 2: emoji_, pack = args