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
36 changes: 23 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
<a href="https://t.me/OfficialYukkiSupport"> YukkiSupport </a>
</p>

<h2 align="center">
Other Branches
</h2>

<p align="center">
<a href="https://github.com/NotReallyShikhar/YukkiMusicBot/tree/Multi-Assistant"><img src="https://img.shields.io/badge/MULTI%20ASSISTANT%20MODE-blueviolet?style=for-the-badge" width="250""/</a>
</p>

<h2 align="center">
Requirements
</h2>
Expand All @@ -44,23 +52,29 @@


<h2 align="center">
Install Locally Or On A VPS
Install Locally or On a VPS(Debian based)
</h2>


```console
shikhar@MacBook~ $ git clone https://github.com/notreallyshikhar/YukkiMusicBot
shikhar@MacBook~ $ cd YukkiMusicBot
shikhar@MacBook~ $ pip3 install -U -r requirements.txt
shikhar@MacBook~ $ cp sample.env .env
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install python3-pip ffmpeg -y
sudo pip3 install -U pip
curl -fssL https://deb.nodesource.com/setup_17.x | sudo -E bash -
sudo apt-get install nodejs -y
npm i -g npm
git clone https://github.com/notreallyshikhar/YukkiMusicBot
cd YukkiMusicBot
pip3 install -U -r requirements.txt
cp sample.env .env
```

<h3 align="center">
Edit <b>.env</b> with your own values and Run Bot
</h3>

```console
shikhar@MacBook~ $ bash start
bash start
```
![alt text](https://github.com/notreallyshikhar/YukkiMusicBot/blob/main/Utils/screen.png)

Expand All @@ -70,8 +84,7 @@ shikhar@MacBook~ $ bash start
</h2>

<p align="center">
<a href="https://railway.app/new/template?template=https://github.com/notreallyshikhar/YukkiMusicBot&envs=BOT_TOKEN%2CAPI_ID%2CAPI_HASH%2CSTRING_SESSION%2CSUDO_USERS%2COWNER_ID%2CDURATION_LIMIT%2CSUPPORT_CHANNEL%2CMONGO_DB_URI%2CLOG_GROUP_ID%2CASSISTANT_PREFIX%2CMUSIC_BOT_NAME%2CSUPPORT_GROUP&optionalEnvs=SUPPORT_CHANNEL%2CSUPPORT_GROUP"><img src="https://img.shields.io/badge/Deploy%20To%20Railway-blueviolet?style=for-the-badge&logo=railway" width="252""/</a>
<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/dev"><img src="https://img.shields.io/badge/Deploy%20To%20Heroku-blueviolet?style=for-the-badge&logo=heroku" width="250""/</a>

</p>

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

<p align="center">
<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>
<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>
</p>

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

```console
shikhar@MacBook~ $ git clone https://github.com/notreallyshikhar/YukkiMusicBot
shikhar@MacBook~ $ cd YukkiMusicBot
shikhar@MacBook~ $ pip3 install pyrogram TgCrypto
shikhar@MacBook~ $ python3 gen_session.py
wget https://raw.githubusercontent.com/NotReallyShikhar/YukkiMusicBot/main/gen_session.py && pip3 install pyrogram TgCrypto && python3 gen_session.py
```


Expand Down
44 changes: 42 additions & 2 deletions Yukki/Core/Clients/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from config import API_HASH, API_ID, BOT_TOKEN, STRING
from config import (API_HASH, API_ID, BOT_TOKEN, STRING1, STRING2, STRING3,
STRING4, STRING5, LOG_SESSION)

from pyrogram import Client

app = Client(
Expand All @@ -8,4 +10,42 @@
bot_token=BOT_TOKEN,
)

userbot = Client(STRING, API_ID, API_HASH)





if not STRING1:
ASS_CLI_1 = None
else:
ASS_CLI_1 = Client(api_id=API_ID, api_hash=API_HASH, session_name=STRING1, plugins=dict(root="Yukki.Plugins.Multi-Assistant"))


if not STRING2:
ASS_CLI_2 = None
else:
ASS_CLI_2 = Client(api_id=API_ID, api_hash=API_HASH, session_name=STRING2, plugins=dict(root="Yukki.Plugins.Multi-Assistant"))


if not STRING3:
ASS_CLI_3 = None
else:
ASS_CLI_3 = Client(api_id=API_ID, api_hash=API_HASH, session_name=STRING3, plugins=dict(root="Yukki.Plugins.Multi-Assistant"))


if not STRING4:
ASS_CLI_4 = None
else:
ASS_CLI_4 = Client(api_id=API_ID, api_hash=API_HASH, session_name=STRING4, plugins=dict(root="Yukki.Plugins.Multi-Assistant"))


if not STRING5:
ASS_CLI_5 = None
else:
ASS_CLI_5 = Client(api_id=API_ID, api_hash=API_HASH, session_name=STRING5, plugins=dict(root="Yukki.Plugins.Multi-Assistant"))


if not LOG_SESSION:
LOG_CLIENT = None
else:
LOG_CLIENT = Client(LOG_SESSION, API_ID, API_HASH)
44 changes: 0 additions & 44 deletions Yukki/Core/Logger/Log.py

This file was deleted.

Loading