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 telegram bot that can upload telegram media files to anonfiles.com and give you direct download link

โœฏ AnonFilesBot โœฏ Telegram Files to AnonFiles Upload Bot It will Also Give Direct Download Link Process : Fork This Repositry And Simply Cick On Heroku

Avishkar Patil 38 Dec 30, 2022
Short Program using Transavia's API to notify via email an user waiting for a flight at special dates and with the best price

Flight-Notifier Short Program using Transavia's API to notify via email an user waiting for a flight at special dates and with the best price Algorith

Wassim 2 Apr 10, 2022
Change the name and pfp of ur accounts, uses tokens.txt for ur tokens.

Change the name and pfp of ur accounts, uses tokens.txt for ur tokens. Also scrapes the pfps+names from a server chosen by you. For hq tokens go to discord.gg/tokenshop or t.me/praisetelegram

cChimney 36 Dec 09, 2022
A bot framework for Reddit to manage threads, wiki pages, widgets, menus and more.

Sub Manager Sub Manager is a bot framework for Reddit to automate a variety of tasks on one or more subreddits, and can be configured and run without

r/SpaceX 3 Aug 26, 2022
Generates a coverage badge using coverage.py and the shields.io service.

Welcome to README Coverage Badger ๐Ÿ‘‹ Generates a coverage badge using coverage.py and the shields.io service. Your README file is then updated with th

Victor Miti 10 Dec 06, 2022
A template that everyone can use for the start of their discord bot

Python Discord Bot Template This repository is a template that everyone can use for the start of their discord bot. When I first started creating my d

2 Nov 01, 2021
You can share your Chegg account for answers using this bot with your friends without getting your account blocked/flagged

Chegg-Answer-Bot You can share your Chegg account for answers using this bot with your friends without getting your account blocked/flagged Reuirement

Ammey Saini 27 Dec 24, 2022
A Python library wrapping the iFixit (Dozuki) API.

A Python library wrapping the iFixit API. Status Working, but incomplete. Fully tested and documented. Hacking I highly recommend using virtualenv: [$

James Pearson Hughes 13 May 24, 2021
Simple Instagram Login Link Generator

instagram-account-login Simple Instagram Login Link Generator Info Program generates instagram login links and you may get into someoneยดs thought the

Kevin 5 Dec 03, 2022
Discord Token Generator - Python (Generates Tokens and Joins your Server Automatically) hCaptcha Bypass **FREE**

Best Discord Token Generator {hCaptcha bypass FREE Unlimited Memberboost} Install few requirements & run main.py it will redirect you to the Download

1 Oct 27, 2021
Python client library for Postmark API

Postmarker Python client library for Postmark API. Gitter: https://gitter.im/Stranger6667/postmarker Installation Postmarker can be obtained with pip:

Dmitry Dygalo 109 Dec 13, 2022
๐€ ๐ฆ๐จ๐๐ฎ๐ฅ๐š๐ซ ๐“๐ž๐ฅ๐ž๐ ๐ซ๐š๐ฆ ๐†๐ซ๐จ๐ฎ๐ฉ ๐ฆ๐š๐ง๐š๐ ๐ž๐ฆ๐ž๐ง๐ญ ๐›๐จ๐ญ ๐ฐ๐ข๐ญ๐ก ๐ฎ๐ฅ๐ญ๐ข๐ฆ๐š๐ญ๐ž ๐Ÿ๐ž๐š๐ญ๐ฎ๐ซ๐ž๐ฌ

๐‡๐จ๐ฐ ๐“๐จ ๐ƒ๐ž๐ฉ๐ฅ๐จ๐ฒ For easiest way to deploy this Bot click on the below button ๐Œ๐š๐๐ž ๐๐ฒ ๐’๐ฎ๐ฉ๐ฉ๐จ๐ซ๐ญ ๐†๐ซ๐จ๐ฎ๐ฉ ๐’๐จ๐ฎ๐ซ๐œ๐ž๐ฌ ๐†๐ž๐ง๐ž?

Mukesh Solanki 2 Oct 06, 2021
A small repository with convenience functions for working with the Notion API.

Welcome! Within this respository are a few convenience functions to assist with the pulling and pushing of data from the Notion API.

10 Jul 09, 2022
python based bot Sends notification to your telegram whenever a new video is released on a youtube channel!

YTnotifier python based bot Sends notification to your telegram whenever a new video is released on a youtube channel! REQUIREMENTS telethon python-de

Mohamed Rizad 6 Jul 23, 2022
Asynchronous wrapper ะดะปั Gismeteo.ru.

aiopygismeteo ะัะธะฝั…ั€ะพะฝะฝะฐั ะพะฑั‘ั€ั‚ะบะฐ ะดะปั Gismeteo.ru. ะกะธะฝั…ั€ะพะฝะฝะฐั ะฒะตั€ัะธั ะทะดะตััŒ. ะฃัั‚ะฐะฝะพะฒะบะฐ python -m pip install -U aiopygismeteo ะ”ะพะบัƒะผะตะฝั‚ะฐั†ะธั https://aiop

Almaz 6 Dec 08, 2022
Built for streamlining development of Google Assistant Actions

Apprentice Apprentice is a framework built for developing Google Actions via Dialogflow and Google Cloud (serverless) Functions. Includes: plug-and-pl

Andrew Graham-Yooll 9 May 16, 2019
๐Ÿค– Chegg answers requested and sent by the Discord BOT to the targeted user.

Chegg BOT Description "I believe that open-source resources are a must for everyone around. Especially in the field of education. As Chegg c

Vusal Ismayilov 33 Aug 20, 2021
discord.js nuker (50 bans a sec)

js-nuker discord.js nuker (50 bans a sec) I was to lazy to make the scraper in js, but this works too. DISCLAIMER This is tool was made for educationa

4 Sep 11, 2021
ๆ•ฐๅญ—่ดงๅธBTC้‡ๅŒ–ไบคๆ˜“็ณป็ปŸ-ๅฎž็›˜่กŒๆƒ…ๆœๅŠกๅ™จ,่™šๆ‹Ÿๅธ่‡ชๅŠจ็‚’ๅธ-็ซๅธAPI-ๅธๅฎ‰ไบคๆ˜“ๆ‰€-้‡ๅŒ–ไบคๆ˜“-็ฝ‘ๆ ผ็ญ–็•ฅใ€‚่ถ‹ๅŠฟ่ทŸ่ธช็ญ–็•ฅ๏ผŒๆœ€็ฎ€ๆบ็ ,ๅฏๅœจ็บฟๅ›žๆต‹,ไธ€้”ฎ้ƒจ็ฝฒ,ๅฏๅฎšๅˆถ็š„ๆฏ”็‰นๅธ้‡ๅŒ–ไบคๆ˜“ๆก†ๆžถ,3ๅนดๅฎž็›˜ๆฃ€้ชŒ๏ผ

huobi_intf ๆไพ›็ซๅธ็ฝ‘็š„ๅฎžๆ—ถ่กŒๆƒ…ๆœๅŠกๅ™จ(ๆ”ฏๆŒ็ซๅธ็ฝ‘ๆ‰€ๆœ‰ไบคๆ˜“ๅฏน็š„ๅฎžๆ—ถ่กŒๆƒ…)๏ผŒ่‡ชๅธฆAPI็ผ“ๅญ˜๏ผŒๅฏ็”จไบŽๅฎž็›˜ไบคๆ˜“ๅ’Œๆจกๆ‹Ÿๅ›žๆต‹ใ€‚ ่กŒๆƒ…ๆ•ฐๆฎ๏ผŒๆ˜ฏไธ€ๅˆ‡้‡ๅŒ–ไบคๆ˜“็š„ๅŸบ็ก€๏ผŒๅฏไปฅ่Žทๅ–1minใ€60minใ€4hourใ€1day็ญ‰ๆ•ฐๆฎใ€‚ๆ•ฐๆฎ่ƒฝ่ฟ›่กŒ็ผ“ๅญ˜๏ผŒๅฏไปฅๅœจๅคšไธชๅธ็ง๏ผŒๅคšไธชๆ—ถ้—ดๆฎตๆŸฅ่ฏข็š„ๆ—ถๅ€™๏ผŒๆŸฅ่ฏข้€Ÿๅบฆไพ็„ถๅพˆๅฟซใ€‚ ๆœๅŠกๆก†ๆžถ

dev 258 Sep 20, 2021
Cogs for Red-DiscordBot

matcha-cogs Cogs for Red-DiscordBot. Installation [p]repo add matcha-cogs

MatchaTeaLeaf 2 Aug 27, 2022