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

Update __main__.py #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 VCPlayBot/__main__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import requests
from pyrogram import Client as Bot

from VCPlayBot.config import API_HASH
from VCPlayBot.config import API_ID
from VCPlayBot.config import BG_IMAGE
from VCPlayBot.config import BOT_TOKEN
from VCPlayBot.services.callsmusic import run
from MusicXBot.config import API_HASH
from MusicXBot.config import API_ID
from MusicXBot.config import BG_IMAGE
from MusicXBot.config import BOT_TOKEN
from MusicXBot.services.callsmusic import run

response = requests.get(BG_IMAGE)
file = open("./etc/foreground.png", "wb")
Expand All @@ -17,7 +17,7 @@
API_ID,
API_HASH,
bot_token=BOT_TOKEN,
plugins=dict(root="VCPlayBot.modules"),
plugins=dict(root="MusicXBot.modules"),
)

bot.start()
Expand Down