From 67d891c16f68816de025d4842d0730a1dc7a270b Mon Sep 17 00:00:00 2001 From: Mr Vishal <67860986+Mrvishal2k2@users.noreply.github.com> Date: Sun, 3 Jul 2022 16:21:16 +0530 Subject: [PATCH] Finally ready with v2 and better code --- root/plugins/cb.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/root/plugins/cb.py b/root/plugins/cb.py index 046a941..34ed2c4 100644 --- a/root/plugins/cb.py +++ b/root/plugins/cb.py @@ -19,14 +19,6 @@ async def rename_call(c,m): mode = "File" if m.data=="rename_file" else "Video" - - ''' - if m.data=="rename_file": - mode = "File" - elif m.data == "rename_video": - mode = "Video" - ''' - await m.message.delete() await c.send_message( text=f"Mode: {mode} \nNow send me new file name without extension",