From a9db0c603ec27b49752442f46864e30366530de8 Mon Sep 17 00:00:00 2001 From: Team Alexa <110902508+TheTeamAlexa@users.noreply.github.com> Date: Thu, 30 Nov 2023 14:35:14 +0500 Subject: [PATCH] Alexa Music --- AlexaMusic/plugins/play/channel.py | 1 - AlexaMusic/plugins/play/play.py | 2 +- AlexaMusic/plugins/play/playlist.py | 4 +--- AlexaMusic/plugins/play/playmode.py | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/AlexaMusic/plugins/play/channel.py b/AlexaMusic/plugins/play/channel.py index cadb2945..56f304cd 100644 --- a/AlexaMusic/plugins/play/channel.py +++ b/AlexaMusic/plugins/play/channel.py @@ -25,7 +25,6 @@ @app.on_message( filters.command(CHANNELPLAY_COMMAND) & filters.group - & ~filters.edited & ~BANNED_USERS ) @AdminActual diff --git a/AlexaMusic/plugins/play/play.py b/AlexaMusic/plugins/play/play.py index 7e9d40e9..093f6c36 100644 --- a/AlexaMusic/plugins/play/play.py +++ b/AlexaMusic/plugins/play/play.py @@ -45,7 +45,7 @@ @app.on_message( - filters.command(PLAY_COMMAND) & filters.group & ~filters.edited & ~BANNED_USERS + filters.command(PLAY_COMMAND) & filters.group & ~BANNED_USERS ) @PlayWrapper async def play_commnd( diff --git a/AlexaMusic/plugins/play/playlist.py b/AlexaMusic/plugins/play/playlist.py index cdb03be0..d4575d09 100644 --- a/AlexaMusic/plugins/play/playlist.py +++ b/AlexaMusic/plugins/play/playlist.py @@ -40,7 +40,7 @@ DELETEPLAYLIST_COMMAND = get_command("DELETEPLAYLIST_COMMAND") -@app.on_message(filters.command(PLAYLIST_COMMAND) & ~filters.edited & ~BANNED_USERS) +@app.on_message(filters.command(PLAYLIST_COMMAND) & ~BANNED_USERS) @language async def check_playlist(client, message: Message, _): _playlist = await get_playlist_names(message.from_user.id) @@ -72,7 +72,6 @@ async def check_playlist(client, message: Message, _): @app.on_message( filters.command(DELETEPLAYLIST_COMMAND) & filters.group - & ~filters.edited & ~BANNED_USERS ) @language @@ -117,7 +116,6 @@ async def get_keyboard(_, user_id): @app.on_message( filters.command(DELETEPLAYLIST_COMMAND) & filters.private - & ~filters.edited & ~BANNED_USERS ) @language diff --git a/AlexaMusic/plugins/play/playmode.py b/AlexaMusic/plugins/play/playmode.py index 8e809bbd..3d1d695f 100644 --- a/AlexaMusic/plugins/play/playmode.py +++ b/AlexaMusic/plugins/play/playmode.py @@ -25,7 +25,7 @@ @app.on_message( - filters.command(PLAYMODE_COMMAND) & filters.group & ~filters.edited & ~BANNED_USERS + filters.command(PLAYMODE_COMMAND) & filters.group & ~BANNED_USERS ) @language async def playmode_(client, message: Message, _):