Config

Config for Yukki Music Bot

Here's an Example Sample.env

  • Edit these values with your values.

  • Don't use any "" for values.

  • Remove all description and extra lines from .env (if any).

🔗 Only Mandatory Vars Setup:

Setting up bot with minimum vars.

STRING_SESSION = 
API_ID = 
API_HASH = 
BOT_TOKEN = 
MONGO_DB_URI = 
LOG_GROUP_ID = 
MUSIC_BOT_NAME = 
OWNER_ID = 

🔗 Setting up bot vars:

PRIVATE_BOT_MODE = True or False
YOUTUBE_EDIT_SLEEP = 3
TELEGRAM_EDIT_SLEEP = 5
AUTO_LEAVING_ASSISTANT = True or False
ASSISTANT_LEAVE_TIME = 5400
AUTO_SUGGESTION_MODE = True or False
AUTO_SUGGESTION_TIME = 3600

🔗 For Spotify Vars:

Know how to these these values from here.

SPOTIFY_CLIENT_ID = Your client id
SPOTIFY_CLIENT_SECRET = Your client secret

🔗 For Custom Images and Thumbs:

You can generate telegaph links from @YukkiTelegraphBot and use it here.

GLOBAL_IMG_URL = Telegraph Link
PING_IMG_URL = Telegraph Link
PLAYLIST_IMG_URL = Telegraph Link
SOUNCLOUD_IMG_URL = Telegraph Link
SPOTIFY_ALBUM_IMG_URL = Telegraph Link
SPOTIFY_ARTIST_IMG_URL = Telegraph Link
SPOTIFY_PLAYLIST_IMG_URL = Telegraph Link
START_IMG_URL = Telegraph Link
STATS_IMG_URL = Telegraph Link
STREAM_IMG_URL = Telegraph Link
TELEGRAM_AUDIO_URL = Telegraph Link
TELEGRAM_VIDEO_URL = Telegraph Link
YOUTUBE_IMG_URL = Telegraph Link

🔗 For Multi-Assistant Mode:

Setting up bot with Multi-Assistant Mode

STRING_SESSION2 = PYROGRAMSESSION 
STRING_SESSION3 = PYROGRAMSESSION 
STRING_SESSION4 = PYROGRAMSESSION 
STRING_SESSION5 = PYROGRAMSESSION 

🔗 For forked Edited Repo:

Add these two vars for your own customized or modified code repo values

UPSTREAM_REPO = Your Github Repo
UPSTREAM_BRAMCH = Your Repo's Active Branch
GIT_TOKEN = Use only if your repo is private
GITHUB_REPO = Your Github Repo url, that will be shown on /start command

Last updated