Vcplayerbot
Play songs directly in telegram voice chats.
Install / Use
/learn @kshubham506/VcplayerbotREADME
Telegram VCPlayer Bot
Play any media(song, video, live, remote) directly into your group voice chat.
Official Bot : VCPlayerBot | Discussion Group : VoiceChat Music Player Support
<p align="center"> <img width="200" height="200" src="https://github.com/kshubham506/vcplayerbot/blob/master/etc/logo.jpg?raw=true"> </p>Checkout AutoForwarder Bot | Try Code Compile Bot
Requirements
- Telegram Api Id and Hash [ Get it from http://my.telegram.org ]
- A Telegram Bot Token. Get it from @botfather
- Python 3.6+
- [ Optional, only use if you are an advanced user ] Mongo DB [ Create free account from mongo website and get your connection string. ]
Deploying To Heroku
- Get your telegram API ID and API HASH from my.telegram.org and the BOT TOKEN from @botfather
- Generate your telegram session string using the
Run on Replbutton below (Click on run after opening the url below) or use thegenerateSession.pyfile or read the steps mentioned here.
- Click on the
Deploy to Herokubutton below. Fill in the required fields on the website that opens.
- Add the bot to your group and send the commands to start using the VCPlayer Bot :)
Steps To Setup on VPC or Locally
- Read the steps mentioned here to get your session string.
- Rename
.env copyto.envand fill all the values there. You can leave theMONGO_URLline as it is (only fill if you know what you are doing)
Steps to Run
- After the setup is done.
- Install the requirements :
pip3 install -U -r requirements.txt - Run the service by :
-
Run
python3 main.py -env prod -
(make sure
-env prodflag is provided, if not rename.envfile to.env.copy)
Environmental Variables
Starting from command line:
- python3 main.py -env
prod|local
Available env variables
-
MandataoryAPI_ID : get it from my.telegram.org -
MandataoryAPI_HASH : get it from my.telegram.org -
MandataoryBOT_TOKEN : bot token of your music bot, get it from @botfather -
MandataoryUSERBOT_SESSION : user bot pyrogram session string, read the steps mentioned here to get your session string. -
OptionalMONGO_URL : connection url for mongo databse. needed if you wnat to run the service in single mode -
Many other optional variables, check Config.py file for details.
Features
Streams directly from url, Playlist support
Command | Description
------------ | -------------
/start , /help | Lists the available commands.
/play song_name/song_url -res[num] | Starts the song in the voice chat, num specifies the audio resolution. eg. /play coldplay -res256 → plays coldplay song in 256 bit rate
/play song_name/song_url -video -res[num] | Starts the video in the voice chat, num specifies the video resolution. eg. /play coldplay -res2480 → plays coldplay video in 480p
/skip | Skip the current media playback.
/stop | Stops the playback.
Developer
For any issues/questions please contact here
Pull Requests are more than welcome.
A SkTechHub Product
Related Skills
claude-opus-4-5-migration
83.3kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
docs-writer
99.2k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
337.7kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
49.8k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
