Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xditya/vcbot
Minimal telegram voice chat music bot, in pyrogram.
https://github.com/xditya/vcbot
music telegram vcbot
Last synced: about 2 months ago
JSON representation
Minimal telegram voice chat music bot, in pyrogram.
- Host: GitHub
- URL: https://github.com/xditya/vcbot
- Owner: xditya
- Created: 2021-06-30T07:15:21.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-02T10:37:23.000Z (over 3 years ago)
- Last Synced: 2024-05-02T03:40:57.338Z (8 months ago)
- Topics: music, telegram, vcbot
- Language: Python
- Homepage: https://xditya.me
- Size: 13.7 KB
- Stars: 36
- Watchers: 4
- Forks: 38
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VCBOT
Fully working VC (user)Bot, based on py-tgcalls and py-tgcalls-wrapper with minimal [features](#TODO).## Deploying
* To heroku:
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](http://heroku.com/deploy?template=https://github.com/xditya/VCBot)* Local machine/VPS:
`git clone https://github.com/xditya/VCBot`
`pip install -r requirements.txt`
`apt-get install ffmpeg`
`touch .env && nano .env`, fill in the vars as in [.env.sample](./.env.sample)
`python bot.py`## SESSION
Either run [sessiongen.py](./sessiongen.py) locally or run it on [repl.it by clicking here.](https://replit.com/@xditya/PyroSessionGen)
## Commands:
- `!on` - Check if the (user)bot is online.
- `!help` - Help message.
- `!stream` - Either give a youtube URL or reply to a telegram file to play it.
- `!pause` - Pause the stream.
- `!resume` - Yes, resume.## Support
- [@BotzHub](https://t.me/BotzHubChat)## TODO
(Contributions accepted, I'm lazy af.)
- A queue system.
- Play with song name.
- Auto-leave VC on song end.
- JoinVC/LeaveVC.
- Updater.## Credits
- [pytgcalls](https://github.com/pytgcalls/pytgcalls)
- [pytgcalls-wrapper](https://github.com/callsmusic/pytgcalls-wrapper)
- [Pyrogram](https://github.com/pyrogram/pyrogram)
- [Me](https://github.com/xditya)
- Everyone who [contributed](https://github.com/xditya/VCBot/graphs/contributors).