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')