Git Product home page Git Product logo

telegram_vc_bot's Introduction

Telegram Voice-Chat Bot [ Pytgcalls ]

Telegram Voice-Chat Bot To Play Music With Pytgcalls From Various Sources In Your Group.

Support

  1. All linux based os.

Requirements

  • Telegram API_ID and API_HASH
  • Python 3.7 or higher
  • Userbot Needs To Be Admin In The Chat
  • Install ffmpeg

Run

$ git clone https://github.com/thehamkercat/Telegram_VC_Bot
$ cd Telegram_VC_Bot
$ sudo apt-get install ffmpeg
$ pip3 install -U pip
$ pip3 install -U -r requirements.txt
$ cp sample_config.py config.py

Edit config.py with your own values.

$ python3 main.py

Heroku

Generate String session [IMPORTANT]

Download this file generate_string_session.py

$ pip3 install pyrogram TgCrypto
$ python3 generate_string_session.py

Fork this repository and change name of sample_config.py to config.py Then you will need get a session string, copy it, then press heroku deploy button.

Deploy

Send commands to bot to play music.

Docker

$ git clone https://github.com/thehamkercat/Telegram_VC_Bot && cd Telegram_VC_Bot
$ cp sample.env .env

Edit .env with your own values.

$ sudo docker build . -t tgvc-bot
$ sudo docker run tgvc-bot

To stop use CTRL+C

Commands

Command Description
/help Show Help Message.
/skip Skip Any Playing Music.
/play youtube/saavn/deezer [SONG_NAME] To Play A Song.
/telegram Play A Song Directly From Telegram File.
/queue Check Queue Status.
/joinvc Join Voice Chat.
/leavevc Leave Voice Chat.
/listvc List Active Voice Chats.
/volume [1-200] Adjust Volume.
/pause Pause Music.
/resume Resume Music.
/theme [Theme Name] Change 'Currently Playing' Theme.
/update Update & Restart.

Note

  1. If you want any help you can ask here

Credits

  1. @MarshalX [For TgCalls]
  2. Everyone who contributed to the project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.