Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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).