Skip to content

Commit

Permalink
Alexa Music
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTeamAlexa authored Nov 30, 2023
1 parent df9b597 commit a9db0c6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion AlexaMusic/plugins/play/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
@app.on_message(
filters.command(CHANNELPLAY_COMMAND)
& filters.group
& ~filters.edited
& ~BANNED_USERS
)
@AdminActual
Expand Down
2 changes: 1 addition & 1 deletion AlexaMusic/plugins/play/play.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 1 addition & 3 deletions AlexaMusic/plugins/play/playlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -117,7 +116,6 @@ async def get_keyboard(_, user_id):
@app.on_message(
filters.command(DELETEPLAYLIST_COMMAND)
& filters.private
& ~filters.edited
& ~BANNED_USERS
)
@language
Expand Down
2 changes: 1 addition & 1 deletion AlexaMusic/plugins/play/playmode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, _):
Expand Down

0 comments on commit a9db0c6

Please sign in to comment.