This is a simple Telegram Music Bot made using the Pyrogram library in Python. It can search and play music directly in your Telegram group or channel. It is developed by Telugu Coders, a community of programmers and developers who love coding in the Telugu language.
- Search and play music directly in Telegram.
- Supports both YouTube Audio and video formats.
- Easy to use and customize.
- Clone the repository:
https://github.com/daanavbots/AmalaMusic
- Change directory
cd AmalaMusic
- Install Nodejs
curl -sL https://deb.nodesource.com/setup_16.x | bash -
- Update Nodejs
apt-get install -y nodejs
- Install the dependencies:
pip3 install -U -r requirements.txt
- Create a new bot on Telegram using BotFather and get its API token.
- Create a new file
.env
in the root directory and add the following:API_ID=your-api-id API_HASH=your-api-hash BOT_TOKEN=your-bot-token STRING_SESSION=pyrogram-session BOT_USERNAME=bot-username BOT_ID=bot-id MONGODB_URL=db-url NETWORK=network username without `@` GROUP=group-username without `@` BOT_NAME=bot-name
-
cp .env .env
- Run the bot
python3 -m Telugucoders
Amala Music
Contributions are always welcome! If you want to contribute to this project, please feel free to submit a pull request. (Only language translators send pull request)
Distributed under the MIT License. See LICENSE for more information.
โข Telugu Coders:
@telugucoders