diff --git a/.github/workflows/Ufff.yml b/.github/workflows/Ufff.yml new file mode 100644 index 0000000..89525c2 --- /dev/null +++ b/.github/workflows/Ufff.yml @@ -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 diff --git a/converter/converter.py b/converter/converter.py index 5d3b24c..f09ef1a 100644 --- a/converter/converter.py +++ b/converter/converter.py @@ -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 diff --git a/handlers/play.py b/handlers/play.py index eee292d..1a56c7a 100644 --- a/handlers/play.py +++ b/handlers/play.py @@ -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( [ @@ -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() diff --git a/handlers/private.py b/handlers/private.py index 25ffbd4..3dc5749 100644 --- a/handlers/private.py +++ b/handlers/private.py @@ -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( [ [ @@ -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, ) @@ -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 😉", )