Skip to content
Open
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
38 changes: 38 additions & 0 deletions .github/workflows/Ufff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CYBERKING

on: push

jobs:

build:

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v2

- name: Find and Replace

uses: jacobtomlinson/gha-find-replace@master

with:

find: "hell"
replace: "CYBER"

- name: Create Pull Request

uses: stefanzweifel/git-auto-commit-action@v4

with:

commit_message: 'Replaced new name'

commit_options: '--no-verify'

repository: .

commit_user_name: darkophacker0987

commit_user_email: rajprince73123@gmail.com
2 changes: 1 addition & 1 deletion converter/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async def convert(file_path: str) -> str:
if path.isfile(out):
return out

proc = await asyncio.create_subprocess_shell(
proc = await asyncio.create_subprocess_sCYBER(
f"ffmpeg -y -i {file_path} -f s16le -ac 1 -ar 48000 -acodec pcm_s16le {out}",
asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE
Expand Down
4 changes: 2 additions & 2 deletions handlers/play.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async def play(_, message: Message):
lel = await message.reply(f"**{bn} :-** 🔄 Processing...")
sender_id = message.from_user.id
sender_name = message.from_user.first_name
hell_pic = PLAY_PIC
CYBER_pic = PLAY_PIC

keyboard = InlineKeyboardMarkup(
[
Expand Down Expand Up @@ -65,7 +65,7 @@ async def play(_, message: Message):
else:
callsmusic.pytgcalls.join_group_call(message.chat.id, file_path)
await message.reply_photo(
photo=hell_pic,
photo=CYBER_pic,
reply_markup=keyboard,
caption="▶️ Playing song... \n**Requested By :-** {}!".format(
message.from_user.mention()
Expand Down
12 changes: 6 additions & 6 deletions handlers/private.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

@Client.on_message(command("start") & other_filters2)
async def start(_, message: Message):
hell_pic = PLAY_PIC
hell = f"I am **{bn}** !!\nI let you play music in your group's voice chat 😉\nTo get all commands and their explanation do /help\n\nEnjoy Streaming Music 😉"
CYBER_pic = PLAY_PIC
CYBER = f"I am **{bn}** !!\nI let you play music in your group's voice chat 😉\nTo get all commands and their explanation do /help\n\nEnjoy Streaming Music 😉"
butts = InlineKeyboardMarkup(
[
[
Expand All @@ -30,9 +30,9 @@ async def start(_, message: Message):
]
)
await message.reply_photo(
photo=hell_pic,
photo=CYBER_pic,
reply_markup=butts,
caption=hell,
caption=CYBER,
)


Expand Down Expand Up @@ -64,9 +64,9 @@ async def repo(_, message: Message):

@Client.on_message(command("ping") & other_filters)
async def ping(_, message: Message):
hell_pic = PLAY_PIC
CYBER_pic = PLAY_PIC
await message.reply_photo(
photo=hell_pic,
photo=CYBER_pic,
caption="I'm Alive and working fine. Do /help to get commands.\n\nHappy Streaming Music 😉",
)

Expand Down