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
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1 align= center><b>⭐️ Yukki Music Bot ⭐️</b></h1>
<h1 align= center><b>⭐️ Yukki Music Bot [ Multi-Assistant ]⭐️</b></h1>
<h3 align = center> A Telegram Music Bot written in Python using Pyrogram and Py-Tgcalls </h3>

<p align="center">
Expand Down Expand Up @@ -49,7 +49,7 @@


```console
shikhar@MacBook~ $ git clone https://github.com/notreallyshikhar/YukkiMusicBot
shikhar@MacBook~ $ git clone -b Multi-Assistant https://github.com/notreallyshikhar/YukkiMusicBot
shikhar@MacBook~ $ cd YukkiMusicBot
shikhar@MacBook~ $ pip3 install -U -r requirements.txt
shikhar@MacBook~ $ cp sample.env .env
Expand All @@ -70,7 +70,7 @@ shikhar@MacBook~ $ bash start
</h2>

<p align="center">
<a href="https://dashboard.heroku.com/new?template=https://github.com/NotReallyShikhar/YukkiMusicBot"><img src="https://img.shields.io/badge/Deploy%20To%20Heroku-blueviolet?style=for-the-badge&logo=heroku" width="250""/</a>
<a href="https://dashboard.heroku.com/new?template=https://github.com/NotReallyShikhar/YukkiMusicBot/tree/Multi-Assistant"><img src="https://img.shields.io/badge/Deploy%20To%20Heroku-blueviolet?style=for-the-badge&logo=heroku" width="250""/</a>

</p>

Expand All @@ -79,15 +79,15 @@ shikhar@MacBook~ $ bash start
</h2>

<p align="center">
<a href="https://replit.com/@AaravxD/PyroStringSession#main.py"><img src="https://img.shields.io/badge/Generate%20On%20Repl-blueviolet?style=for-the-badge&logo=appveyor" width="245""/></a>
<a href="https://replit.com/@AaravxD/VsBSession#main.py"><img src="https://img.shields.io/badge/Generate%20On%20Repl-blueviolet?style=for-the-badge&logo=appveyor" width="245""/></a>
</p>

<h3 align="center">
OR
</h3>

```console
shikhar@MacBook~ $ git clone https://github.com/notreallyshikhar/YukkiMusicBot
shikhar@MacBook~ $ git clone -b Multi-Assistant https://github.com/notreallyshikhar/YukkiMusicBot
shikhar@MacBook~ $ cd YukkiMusicBot
shikhar@MacBook~ $ pip3 install pyrogram TgCrypto
shikhar@MacBook~ $ python3 gen_session.py
Expand All @@ -101,7 +101,7 @@ shikhar@MacBook~ $ python3 gen_session.py
1. `API_ID` : Assistant Account Telegram API_ID, get it from my.telegram.org
2. `API_HASH` : Assistant Account Telegram API_HASH, get it from my.telegram.org
3. `BOT_TOKEN` : Your Telegram Bot Token, get it from @Botfather (Make sure Inline is turned On)
4. `SESSION_STRING` : Pyrogram Session String of Assistant Account.
4. `STRING_SESSION1` - `STRING_SESSION5` : Pyrogram Session String of Assistant Accounts.[ look at sample.env]
5. `MUSIC_BOT_NAME` : A name for your Music bot.
6. `MONGO_DB_URI` : MongoDB Database URL.
7. `LOG_GROUP_ID` : Chat ID where bot will log everything. Use Group Chats Only.
Expand Down
10 changes: 8 additions & 2 deletions Yukki/Core/Clients/cli.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
from config import API_HASH, API_ID, BOT_TOKEN, STRING
from pyrogram import Client

from config import (API_HASH, API_ID, BOT_TOKEN, STRING1, STRING2, STRING3,
STRING4, STRING5)

app = Client(
"YukkiMusicBot",
API_ID,
API_HASH,
bot_token=BOT_TOKEN,
)

userbot = Client(STRING, API_ID, API_HASH)
ASS_CLI_1 = Client(STRING1, API_ID, API_HASH)
ASS_CLI_2 = Client(STRING2, API_ID, API_HASH)
ASS_CLI_3 = Client(STRING3, API_ID, API_HASH)
ASS_CLI_4 = Client(STRING4, API_ID, API_HASH)
ASS_CLI_5 = Client(STRING5, API_ID, API_HASH)
3 changes: 1 addition & 2 deletions Yukki/Core/Logger/Log.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from config import LOG_GROUP_ID as _channel_id_

from Yukki.Core.Clients.cli import app, userbot
from Yukki.Core.Clients.cli import app

failure = "Make sure your bot is in your log channel and is promoted as an admin with full rights!"

Expand Down
Loading