Code Monkey home page Code Monkey logo

vcplayerbot's Introduction

Telegram VCPlayer Bot

Play any song directly into your group voice chat.

Official Bot : VCPlayerBot | Discussion Group : VoiceChat Music Player Support

Checkout AutoForwarder Bot

Requirements

  1. Telegram Api Id and Hash [ Get it from my.telegram.org ]
  2. Python 3.6+
  3. ffmpeg [ How to Install ? ]
  4. Mongo DB [ Create free account from mongo website and get your connection string. ]

Steps To Setup

  1. Install pyrogram for generatong session string : pip3 install -U pyrogram
  2. Generate your telegram session string. Run python3 generateSession.py
  3. Rename .env copy to .env and fill all the required fields in there.
  4. In Mongo DB a database named sktechhub will be created with the collections tgcalls_chats , tgcalls_playbacks , tgcalls_users ( if not present then create them manually).

Steps to Run

  1. After the setup is done.
  2. Install ffmpeg : sudo apt-get install ffmpeg
  3. Install the requirements : pip3 install -U -r requirements.txt
  4. Run the service by :
  • Run python3 main.py --help for available settings.
  • Or Run python3 main.py -env prod to use default settings

Features

Command Description
/start , /help Lists the available commands.
/play song_name Starts the song in the voice chat.
/skip Skips the current song.
/stop Stops the playback.
/loop off , /loop [2-5] Loops the song to x times.
/info Shows the info of the playback in the chat.
/refreshadmins Refreshes the admin list in the chat.
/auth Adds the user mentioned in the reply to bot admin list.
/unauth Removes the user mentioned in the reply from bot admin list.
/listadmins Lists all the bot admins.
/adminmode [on,off] Turn on/off the admin mode.

Developer

Shubham Kumar

For any issues/questions please contact here

Pull Requests are more than welcome.

vcplayerbot's People

Contributors

kshubham506 avatar

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.