A Telegram Bot to Play Audio in Voice Chats.
API_ID: Get From my.telegram.orgAPI_HASH: Get from my.telegram.orgBOT_TOKEN: @BotfatherSESSION_STRING: Generate From hereCHAT: ID of Channel/Group where the bot plays Music.LOG_GROUP: Group to send Playlist, if CHAT is a GroupADMINS: ID of users who can use admin commands.STREAM_URL: Stream URL of radio station to stream when the bot starts or with /radio command.
- Enable the worker after deploy the project to Heroku
- Bot will starts radio automatically in given
CHATwith givenSTREAM_URLafter deploy.(24*7 Music even if heroku restarts, radio stream restarts automatically.) - To play a song just send the audio file to Bot or reply to an audio with
/playto start playing it in the voice chat. - Use /help to know about other commands.
Features
- Playlist, queue
- Loop one track when there is only one track in the playlist
- Automatically downloads audio for the first two tracks in the playlist to
- ensure smooth playing
- Show current playing position of the audio
- This one is completly based on work of Dash Eclipse's tgvc-userbot. I just added Bot and Channel support.