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

Panther1999 patch 1 #24

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
1 change: 0 additions & 1 deletion VCPlayBot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@
)

bot.start()
run()
2 changes: 1 addition & 1 deletion VCPlayBot/services/callsmusic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from VCPlayBot.services.callsmusic import queues
from VCPlayBot.services.callsmusic.callsmusic import pytgcalls, run
from VCPlayBot.services.callsmusic.callsmusic import pytgcalls.
4 changes: 1 addition & 3 deletions VCPlayBot/services/callsmusic/callsmusic.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,4 @@ def on_stream_end(chat_id: int) -> None:
pytgcalls.leave_group_call(chat_id)
else:
pytgcalls.change_stream(chat_id, queues.get(chat_id)["file"])


run = pytgcalls.run
Run = pytgcalls.run
14 changes: 7 additions & 7 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
},
"BOT_NAME": {
"description": "Your MusicPlayer Bot Name.",
"required": false,
"required": true,
"value": ""
},
"SUPPORT_GROUP": {
"description": "Your MusicPlayer support group without @ [Leave this if you don't have one]",
"required": false,
"required": true,
"value": "AwesomeSupport"
},
"PROJECT_NAME": {
Expand All @@ -44,17 +44,17 @@
},
"ARQ_API_KEY": {
"description": "Get from @ARQRobot.",
"required": false,
"value": "VKSSQH-SRNJYZ-MSOJAI-QALESR-ARQ"
"required": true,
"value": ""
},
"BG_IMAGE": {
"description": "BG image of bot (Use transparent one) [IGNORE].",
"required": false,
"required": true,
"value": "https://telegra.ph/file/9b13ea3ce046a1a5c8098.png"
},
"UPDATES_CHANNEL": {
"description": "Updates Channel without @ [Leave this if you don't have one].",
"required": false,
"required": true,
"value": "LaylaList"
},
"API_ID": {
Expand All @@ -63,7 +63,7 @@
},
"PMPERMIT": {
"description": "Change to turn off",
"required": false,
"required": true,
"value": "ENABLE"
},
"API_HASH": {
Expand Down