From 7214dc07890311551f43797d32736878a65d3ef9 Mon Sep 17 00:00:00 2001 From: athphane Date: Tue, 4 Jun 2024 10:28:41 +0500 Subject: [PATCH] - perhaps this will work --- userbot/plugins/morse_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userbot/plugins/morse_code.py b/userbot/plugins/morse_code.py index d011ed0..d911b2c 100644 --- a/userbot/plugins/morse_code.py +++ b/userbot/plugins/morse_code.py @@ -55,7 +55,7 @@ def encrypt(input_string): await message.edit("`give me something to encrypt`") return - await message.edit(encrypt(input_str.upper())) + await message.edit(encrypt(input_str.upper().replace(' ', '-'))) @UserBot.on_message(filters.command("morsed", ".") & filters.me)