The first open-source PyTgCalls-based project.

Overview

SU Music Player โ€” The first open-source PyTgCalls based Pyrogram bot to play music in voice chats

Requirements

  • FFmpeg
  • NodeJS 15+
  • Python 3.7+

Deployment

Config

Copy example.env to .env and fill it with your credentials.

Without Docker

  1. Install Python requirements:
    pip install -U -r requirements.txt
  2. Run:
    python main.py

Using Docker

  1. Build:
    docker build -t musicplayer .
  2. Run:
    docker run --env-file .env musicplayer

Heroku

Deploy

Credits

You might also like...
Dante, my discord bot. Open source project in development and not optimized for other filesystems, install and setup script in development

DanteMode (In private development for ~6 months) Dante, my discord bot. Open source project in development and not optimized for other filesystems, in

Leakvertise is a Python open-source project which aims to bypass these fucking annoying captchas and ads from linkvertise, easily

Leakvertise Leakvertise is a Python open-source project which aims to bypass these fucking annoying captchas and ads from linkvertise, easily. You can

DevSecOps pipeline for Python based web app using Jenkins, Ansible, AWS, and open-source security tools and checks.
DevSecOps pipeline for Python based web app using Jenkins, Ansible, AWS, and open-source security tools and checks.

DevSecOps pipeline for Python Web App A Jenkins end-to-end DevSecOps pipeline for Python web application, hosted on AWS Ubuntu 20.04 Note: This projec

First Party data integration solution built for marketing teams to enable audience and conversion onboarding into Google Marketing products (Google Ads, Campaign Manager, Google Analytics).

Megalista Sample integration code for onboarding offline/CRM data from BigQuery as custom audiences or offline conversions in Google Ads, Google Analy

Changes the Telegram bio, profile picture, first and last name to the song that the user is currently listening to.

TGBIOFY - Telegram & Spotify integration Changes the Telegram bio, profile picture, first and last name to the song that the user is currently listeni

And now, for the first time, you can send alerts via action from ArcSight ESM Console to the TheHive when Correlation Rules are triggered.

ArcSight Integration with TheHive And now, for the first time, you can send alerts via action from ArcSight ESM Console to the TheHive when Correlatio

๐Ÿ’€ The first raid tool of its kind. Inject Deadcord and raid servers directly from the Discord client.
๐Ÿ’€ The first raid tool of its kind. Inject Deadcord and raid servers directly from the Discord client.

๐Ÿ’€ Deadcord The next upcoming Discord raid tool, the best for free. ๐ŸŽ‰ Early Beta Released We have released an early version of Deadcord, please keep

The world's first public V2ray manager Telegram bot
The world's first public V2ray manager Telegram bot

๐Ÿ“Œ DarkV2ray-Manager-Bot 0.1 UPDATE 11/11/2021 Telegram bot v2ray Test user expired date data limit paylode && sni usage user on/off heroku bot hostin

This is my personal version of Pac-Man using python, which is the first assignment of EA Software Engineering Virtual Experience Program from Forage.com
This is my personal version of Pac-Man using python, which is the first assignment of EA Software Engineering Virtual Experience Program from Forage.com

Vac-Man in Python This is my personal version of Vax-man game using python, which is the first task of EA Software Engineering Virtual Experience Prog

Comments
  • Error `ValueError: invalid literal for int() with base 10: '10 # in minutes (default: 7)'`

    Error `ValueError: invalid literal for int() with base 10: '10 # in minutes (default: 7)'`

    I am getting error sudo docker run --env-file .env musicplayer

    Traceback (most recent call last):
      File "main.py", line 3, in <module>
        from callsmusic import run
      File "/app/callsmusic/__init__.py", line 2, in <module>
        import config
      File "/app/config.py", line 13, in <module>
        DURATION_LIMIT = int(getenv("DURATION_LIMIT", "7"))
    ValueError: invalid literal for int() with base 10: '10 # in minutes (default: 7)'
    

    My config file

    from os import getenv
    
    from dotenv import load_dotenv
    
    load_dotenv()
    
    SESSION_NAME = getenv("0000000")
    BOT_TOKEN = getenv("000000000")
    
    API_ID = int(getenv("API_ID", "00000"))
    API_HASH = getenv("0000000000000")
    
    DURATION_LIMIT = int(getenv("DURATION_LIMIT", "100"))
    
    COMMAND_PREFIXES = list(getenv("COMMAND_PREFIXES", "/ !").split())
    
    SUDO_USERS = list(map(int, getenv("000000").split()))
    
    opened by AnzenKodo 0
Releases(v2.2)
Owner
Calls Music
Telegram group call-related @SuProjects.
Calls Music
A simple python oriented telegram bot to give out creative font style's

Font-Bot A simple python oriented telegram bot to give out creative font style's REQUIREMENTS tgcrypto pyrogram==1.2.9 Installation Fork this reposito

BL4CK H47 4 Jan 30, 2022
A python based all-in-one tool for Google Drive

gdrive-tools A python based all-in-one tool for Google Drive Uses For Gdrive-Tools โœ“ generate SA โœ“ Add the SA and Add them to TD automatically โœ“ Gener

XcodersHub 32 Feb 09, 2022
Instagram Account Creator ๐Ÿฅฐ

Instagram Account Creatorr Instagram account creator that uses requests instead of selenium! Report Bug ยท Request Feature Features Request based Conta

dropout 9 Oct 27, 2021
A simple fun discord bot using discord.py that can post memes

A simple fun discord bot using discord.py * * Commands $commands - to see all commands $meme - for a random meme from the internet $cry - to make the

Dice Flip 2 Dec 20, 2021
Unofficial WebApp for WhatsApp Web created in PyQt6

Unofficial WebApp for WhatsApp Web created in PyQt6 using PyQt6-WebEngine

Rafael Tosta Santos 126 Dec 20, 2022
N3RP (the NFT Rental Protocol) allows users to trustlessly rent out their ERC721-based assets.

N3RP โ€ข N3RP - An NFT Rental Protocol (pronounced "nerp") Smart Contracts Passing Tests, Frontend Functional But Is Being Beautified. ๐Ÿ›  Introduction T

Grant Stenger 56 Dec 07, 2022
CSUL Discord Bot

Cruzeiro This is the same old bot running on the Discord Server of CSUL, but i've changed the code. It's better now. Discord.py Heroku How i did The b

Operaho 6 Jan 31, 2022
Backlog API v2 Client Library for Python

BacklogPy - Backlog API v2 Client Library for Python BacklogPy is Backlog API v2 Client Library for Python 2/3 Install You can install the client libr

Koudai Aono 7 Dec 16, 2022
A solution designed to extract, transform and load Chicago crime data from an RDS instance to other services in AWS.

This project is intended to implement a solution designed to extract, transform and load Chicago crime data from an RDS instance to other services in AWS.

Yesaswi Avula 1 Feb 04, 2022
A python package that fetches tweets and user information in a very pythonic manner.

Tweetsy Tweetsy uses Twitter's underlying API to fetch user information and tweets and present it in a human-friendly way. What makes Tweetsy special

Sakirul Alam 5 Nov 12, 2022
Discord Bot for League of Legends live match tracker

SABot Dicord Bot for League of Legends match auto tracker Features: Search Summoners statistics in League of Legends. Auto-notifications provide when

Jungyu Choi 4 Sep 27, 2022
VaccineAlarm is a simple python script that allows user to get notified when their desired vaccine doses are available at vaccine centers near them.

Introduction VaccineAlarm is a simple python script that allows user to get notified when their desired vaccine doses are available at vaccine centers

Ankit Tripathi 5 Nov 26, 2021
Schedule Twitter updates with easy

coo: schedule Twitter updates with easy Coo is an easy to use Python library for scheduling Twitter updates. To use it, you need to first apply for a

wilfredinni 46 Nov 03, 2022
A Telegram Bot Plays With Words!!!

TheWordzBot โž  I Can Turn Text Into Audio โž  I Can Get Results From Dictionary โž  I Can Make Google Search For You โž  I Can Suggest Strong Passwords For Y

RAVEEN KUMAR 8 Feb 28, 2022
DEPRECATED - Official Python Client for the Discogs API

โš ๏ธ DEPRECATED This repository is no longer maintained. You can still use a REST client like Requests or other third-party Python library to access the

Discogs 483 Dec 31, 2022
Catinthebox - Awesome bot for Mastodon

Cat In The Box :3 Description Awesome bot for Mastodon Requirements python pip g

satanist 0 Jan 19, 2022
Amanda-A next gen powerful telegram group manager bot for manage your groups and have fun with other cool modules.

Amanda-A next gen powerful telegram group manager bot for manage your groups and have fun with other cool modules.

Team Amanda 4 Oct 21, 2022
EZXT - A ccxt wrapped client for binance & ftx

EZXT Open source & beginner-friendly ccxt wrapped client for binance & ftx Want

Shaft 10 Oct 25, 2022
Automate and Manage Telegram Channels

Channel Automation Bot @ChannelAutomateBot A star โญ from you means a lot to us! Telegram bot to automate and manage channels. Usage Deploy to Heroku T

Stark Bots 61 Dec 29, 2022
Reddit comment bot emulating Telugu actor N. Bala Krishna.

Balayya-Bot Reddit comment bot emulating Telugu actor N. Bala Krishna. Project structure config.py contains Bot's higher level configuration. generate

Kari Lorince 2 Nov 05, 2021