Skip to content

Commit

Permalink
Finally ready with v2 and better code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrvishal2k2 committed Jul 3, 2022
1 parent 55d7675 commit 67d891c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions root/plugins/cb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 67d891c

Please sign in to comment.