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 a9db0c6 commit 84fde6b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions AlexaMusic/plugins/bot/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


@app.on_message(
filters.command(HELP_COMMAND) & filters.private & ~filters.edited & ~BANNED_USERS
filters.command(HELP_COMMAND) & filters.private & ~BANNED_USERS
)
@app.on_callback_query(filters.regex("settings_back_helper") & ~BANNED_USERS)
async def helper_private(
Expand Down Expand Up @@ -64,7 +64,7 @@ async def helper_private(


@app.on_message(
filters.command(HELP_COMMAND) & filters.group & ~filters.edited & ~BANNED_USERS
filters.command(HELP_COMMAND) & filters.group & ~BANNED_USERS
)
@LanguageStart
async def help_com_group(client, message: Message, _):
Expand Down
2 changes: 1 addition & 1 deletion AlexaMusic/plugins/bot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@


@app.on_message(
filters.command(SETTINGS_COMMAND) & filters.group & ~filters.edited & ~BANNED_USERS
filters.command(SETTINGS_COMMAND) & filters.group & ~BANNED_USERS
)
@language
async def settings_mar(client, message: Message, _):
Expand Down
6 changes: 2 additions & 4 deletions AlexaMusic/plugins/bot/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
@app.on_message(
filters.command(get_command("START_COMMAND"))
& filters.private
& ~filters.edited
& ~BANNED_USERS
)
@LanguageStart
Expand Down Expand Up @@ -218,7 +217,6 @@ def get_stats():
@app.on_message(
filters.command(get_command("START_COMMAND"))
& filters.group
& ~filters.edited
& ~BANNED_USERS
)
@LanguageStart
Expand Down Expand Up @@ -283,7 +281,7 @@ async def welcome(client, message: Message):
return


@app.on_message(commandpro(["/alive", "Alexa"]) & ~filters.edited)
@app.on_message(commandpro(["/alive", "Alexa"]))
async def start(client: Client, message: Message):
await message.reply_photo(
photo=f"https://telegra.ph/file/125f531d44a9999290cac.jpg",
Expand All @@ -294,7 +292,7 @@ async def start(client: Client, message: Message):
)


@app.on_message(commandpro(["/verify", "alexaverification"]) & ~filters.edited)
@app.on_message(commandpro(["/verify", "alexaverification"]))
async def start(client: Client, message: Message):
if await is_served_user(message.from_user.id):
await message.reply_text(
Expand Down

0 comments on commit 84fde6b

Please sign in to comment.