Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format code. #68

Merged
merged 1 commit into from
Apr 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions AlexaMusic/plugins/admins/callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,11 +317,11 @@ async def del_back_playlist(client, CallbackQuery, _):
run = await CallbackQuery.message.reply_photo(
photo=img,
caption=_["stream_1"].format(
title[:27],
f"https://t.me/{app.username}?start=info_{videoid}",
duration_min,
user,
),
title[:27],
f"https://t.me/{app.username}?start=info_{videoid}",
duration_min,
user,
),
reply_markup=InlineKeyboardMarkup(button),
)
db[chat_id][0]["mystic"] = run
Expand Down Expand Up @@ -380,4 +380,4 @@ async def del_back_playlist(client, CallbackQuery, _):
else:
db[chat_id][0]["played"] += duration_to_skip
string = _["admin_33"].format(seconds_to_min(to_seek))
await mystic.edit_text(f"{string}\n\nᴄʜᴀɴɢᴇs ᴅᴏɴᴇ ʙʏ : {mention} !")
await mystic.edit_text(f"{string}\n\nᴄʜᴀɴɢᴇs ᴅᴏɴᴇ ʙʏ : {mention} !")
10 changes: 5 additions & 5 deletions AlexaMusic/plugins/admins/skip.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@ async def skip(cli, message: Message, _, chat_id):
run = await message.reply_photo(
photo=img,
caption=_["stream_1"].format(
title[:27],
f"https://t.me/{app.username}?start=info_{videoid}",
duration_min,
user,
),
title[:27],
f"https://t.me/{app.username}?start=info_{videoid}",
duration_min,
user,
),
reply_markup=InlineKeyboardMarkup(button),
)
db[chat_id][0]["mystic"] = run
Expand Down