From 19022037242aea3ccdef6cded1b8effeea2b65c3 Mon Sep 17 00:00:00 2001 From: Rahul <58558341+rahulps1000@users.noreply.github.com> Date: Wed, 22 Sep 2021 17:47:02 +0530 Subject: [PATCH] Update controls.py --- plugins/controls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/controls.py b/plugins/controls.py index 75f02066..5457e4b6 100644 --- a/plugins/controls.py +++ b/plugins/controls.py @@ -149,7 +149,7 @@ async def show_player(client, m: Message): ) else: if Config.msg.get('player') is not None: - await Config.msg['playlist'].delete() + await Config.msg['player'].delete() Config.msg['player'] = await m.reply_text( title, disable_web_page_preview=True, @@ -188,4 +188,4 @@ async def seek_playout(client, m: Message): title=f"Streaming Startup [stream]({Config.STREAM_URL})" await m.reply(f"🎸{title}", reply_markup=await get_buttons(), disable_web_page_preview=True) else: - await m.reply('No time specified') \ No newline at end of file + await m.reply('No time specified')