diff --git a/VCPlayBot/__main__.py b/VCPlayBot/__main__.py index 10e4747a..34a4144d 100644 --- a/VCPlayBot/__main__.py +++ b/VCPlayBot/__main__.py @@ -18,4 +18,3 @@ ) bot.start() -run() diff --git a/VCPlayBot/services/callsmusic/__init__.py b/VCPlayBot/services/callsmusic/__init__.py index 0a942990..7dc77c29 100644 --- a/VCPlayBot/services/callsmusic/__init__.py +++ b/VCPlayBot/services/callsmusic/__init__.py @@ -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. diff --git a/VCPlayBot/services/callsmusic/callsmusic.py b/VCPlayBot/services/callsmusic/callsmusic.py index 7ec6a5f7..7eb612c0 100644 --- a/VCPlayBot/services/callsmusic/callsmusic.py +++ b/VCPlayBot/services/callsmusic/callsmusic.py @@ -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 diff --git a/app.json b/app.json index 930364e3..7ac39127 100644 --- a/app.json +++ b/app.json @@ -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": { @@ -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": { @@ -63,7 +63,7 @@ }, "PMPERMIT": { "description": "Change to turn off", - "required": false, + "required": true, "value": "ENABLE" }, "API_HASH": {