Skip to content

Commit a9efc93

Browse files
ViYomXVivekkumar-IN
authored andcommitted
v1.2 [ YukkiMusic ]
1 parent c5df91f commit a9efc93

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+2166
-1070
lines changed

CHANGELOG.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Changelog
2+
3+
All notable changes to YukkiMusic will be documented in this file.
4+
5+
## [v1.2] - 2024-11-03
6+
7+
### Added
8+
- Added Multiple Languages Support for commands
9+
- Multiple languag suport for bot Helpmenu [ Only for primary plugins Not for External Plugins ]
10+
- All can be used without prefix [ Except English commands ]
11+
- User can Request her data and can Delete [ Except: Chat, Banned Users, Blacklist Chats]
12+
- PRIVACY.md For YukkiMusic
13+
### Changed
14+
- `Apple`, `Carbon`, `Saavn`, `Resso`, `SoundCloud`, `Spotify`, `Telegram`, `YouTube` are centralized to a class [PlaTForms](https://github.com/TheTeamVivek/YukkiMusic/blob/master/YukkiMusic%2Fplatforms%2F__init__.py)
15+
- Explained Privacy policy in `/privacy` command
16+
- Now Assistsant will joinchat when chat is private
17+
- Now User Friendly README.md
18+
19+
**Full Changelog:** [`v1.1...v1.2`](https://github.com/TheTeamVivek/YukkiMusic/compare/v1.1...v1.2)
20+
21+
## [v1.1] - 2024-10-14
22+
23+
### Added
24+
- Unlimited assistant support for handling multiple voice chats
25+
- Mongodb Data Export/import Support
26+
- Added JioSaavn Playback support
27+
- Added yt-dlp-youtube-oauth2 to bypass Singin Issue
28+
- The currently playing message will be deleted when switching to the next track.
29+
30+
### Changed
31+
- Updated Python Version to 3.12.7-slim
32+
- Improved error handling in music playback
33+
- Enhanced queue management system
34+
- Better formatting for duration display
35+
- Optimized database operations
36+
37+
### Fixed
38+
- Delete Files after streams end
39+
- Updated `langs/en.yml` Standardized to use English letters instead of mini caps.
40+
- Commands are now sourced from `command.yml` Any updates to plugin commands will automatically update the help message
41+
42+
### Removed
43+
44+
- Some unused plugins vars.py, groupass.py, player.py.
45+
- Assets folder due to lack of use.
46+
- Unused dependencies from requirements.txt
47+
48+
**Full Changelog:** [`v1.0...v1.1`](https://github.com/TheTeamVivek/YukkiMusic/compare/v1.0...v1.1)
49+
50+
## [v1.0] - 2024-10-05
51+
52+
53+
- Initial release of YukkiMusic
54+
- Thanks To [Pranav-Saraswat](https://github.com/Pranav-Saraswat) For Their YukkiMusicFork For Making Working
55+
- Thanks To [TeamYukki](https://github.com/TeamYukki/) for Their [YukkiMusicBot](https://github.com/TeamYukki/YukkiMusicBot)
56+
57+
### Features
58+
- High quality music streaming
59+
- Video streaming capability
60+
- Interactive inline buttons
61+
- Detailed playback statistics
62+
- Group management commands
63+
- Customizable bot settings
64+
65+
### Notes
66+
- Base version established with core functionality
67+
- Compatible with Python 3.9+
68+
- Built with Pyrogram and py-tgcalls

PRIVACY.md

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
# Privacy Policy for YukkiMusic
2+
3+
Last Updated: 2024-10-30
4+
5+
## 1. Introduction
6+
7+
Welcome to Yukki Music ("we," "our," or "bot"). This privacy policy explains how we collect, use, store, and protect your information when you use our Telegram bot service.
8+
9+
## 2. Information We Collect
10+
11+
### 2.1 Automatically Collected Information:
12+
- Telegram User ID
13+
- Chat/Group IDs where the bot is used
14+
- Basic chat interaction data
15+
- Command usage statistics
16+
- Voice chat participation data
17+
18+
### 2.2 User-Provided Information:
19+
- Playlists created by users
20+
- Music preferences and playback history
21+
- Custom settings and configurations
22+
- Language preferences
23+
- Authentication permissions in groups
24+
25+
### 2.3 Technical Information:
26+
- Bot usage statistics
27+
- Error logs for troubleshooting
28+
- Performance metrics
29+
30+
## 3. How We Use Your Information
31+
32+
We use the collected information to:
33+
- Provide music streaming services
34+
- Maintain user playlists
35+
- Process voice chat requests
36+
- Manage user authorization in groups
37+
- Generate usage statistics
38+
- Improve bot performance and features
39+
- Monitor and prevent abuse
40+
- Maintain user preferences and settings
41+
42+
## 4. Data Storage and Security
43+
44+
- User data is stored securely in MongoDB databases
45+
- We implement security measures to protect against unauthorized access
46+
- Temporary files (like downloaded music) are automatically deleted after use
47+
- Log data is stored in a secure log group accessible only to bot administrators
48+
49+
## 5. Data Sharing and Disclosure
50+
51+
We do not share your personal information with third parties except:
52+
- When required by law
53+
- To protect our rights and services
54+
- With your explicit consent
55+
56+
## 6. User Rights
57+
58+
You have the right to:
59+
- Access your personal data
60+
- Request data export
61+
- Delete your data
62+
- Modify your settings
63+
- Opt-out of data collection
64+
65+
## 7. Data Retention
66+
67+
- Active user data is retained while you use the bot
68+
- Inactive user data may be automatically purged
69+
- Banned user records are retained for moderation purposes
70+
- Blacklisted chat data is preserved for security
71+
72+
## 8. Children's Privacy
73+
74+
Our service is not intended for users under 13. We do not knowingly collect information from children under 13.
75+
76+
## 9. Changes to Privacy Policy
77+
78+
We may update this privacy policy occasionally. Users will be notified of significant changes through the bot or support channel.
79+
80+
## 10. Data Management
81+
82+
Users can manage their data through these commands:
83+
- /privacy - View privacy options
84+
- Use inline buttons to:
85+
- Export personal data
86+
- Delete account data
87+
- View privacy policy
88+
89+
## 11. Technical Features
90+
91+
The bot includes:
92+
- Automatic file cleanup
93+
- Rate limiting to prevent abuse
94+
- Secure command handling
95+
- Permission-based access control
96+
- Automated moderation tools
97+
98+
## 12. Specific Data Usage
99+
100+
### 12.1 Music Features:
101+
- Playlist data storage
102+
- Stream history tracking
103+
- Music preferences
104+
- Queue management
105+
106+
### 12.2 Chat Management:
107+
- Authorization levels
108+
- User permissions
109+
- Group settings
110+
- Command access control
111+
112+
### 12.3 Bot Statistics:
113+
- Command usage metrics
114+
- Performance monitoring
115+
- Error tracking
116+
- User engagement data
117+
118+
## 13. Contact Information
119+
120+
For privacy-related questions or concerns:
121+
- [Support Group](https://t.me/TheTeamVk)
122+
- [Updates Channel](https://t.me/TheTeamVivek)
123+
- [GitHub](https://github.com/TheTeamVivek/YukkiMusic)
124+
125+
## 14. Compliance
126+
127+
This bot adheres to:
128+
- Telegram's Terms of Service
129+
- MIT License requirements
130+
- Data protection best practices
131+
- User privacy standards
132+
133+
## 15. Additional Features
134+
135+
Our privacy measures extend to:
136+
- Multi-assistant support
137+
- Playlist management
138+
- Voice chat handling
139+
- File streaming
140+
- User authorization systems
141+
- Language preferences
142+
- Custom playback settings
143+
144+
## 16. Data Processing
145+
146+
We process data for:
147+
- Music streaming and playback
148+
- Playlist management
149+
- User authentication
150+
- Command processing
151+
- Statistics generation
152+
- Error tracking
153+
- Performance optimization
154+
155+
## 17. Third-Party Services
156+
157+
We interact with:
158+
- YouTube
159+
- Saavn
160+
- Spotify
161+
- SoundCloud
162+
- Apple Music
163+
- Resso
164+
- Telegram files
165+
- MongoDB database
166+
167+
## 18. Security Measures
168+
169+
We implement:
170+
- Secure data storage
171+
- Encrypted communications
172+
- Access control systems
173+
- Regular security updates
174+
- Automated cleanup processes
175+
- Rate limiting
176+
- Anti-abuse protection
177+
178+
## 19. Disclaimer
179+
180+
While we implement security measures to protect user data, no internet-based service can guarantee absolute security. Users are responsible for maintaining the security of their Telegram accounts.
181+
182+
## 20. Acknowledgments
183+
184+
Yukki Music is built with privacy and security in mind, ensuring user data protection while providing high-quality music streaming services.

YukkiMusic/__init__.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,7 @@
3535
# Assistant Client
3636
userbot = Userbot()
3737

38-
from .platforms import *
39-
40-
YouTube = YouTubeAPI()
41-
Carbon = CarbonAPI()
42-
Spotify = SpotifyAPI()
43-
Saavn = SaavnAPI()
44-
Apple = AppleAPI()
45-
Resso = RessoAPI()
46-
SoundCloud = SoundAPI()
47-
Telegram = TeleAPI()
38+
from .platforms import PlaTForms
39+
40+
Platform = PlaTForms()
4841
HELPABLE = {}

YukkiMusic/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#
88
# All rights reserved.
99
import importlib
10-
import sys
1110

1211
from pyrogram import idle
1312
from pytgcalls.exceptions import NoActiveGroupCall

YukkiMusic/core/bot.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2024 by TheTeamVivek@Github, < https://github.com/TheTeamVivek >.
33
#
44
# This file is part of < https://github.com/TheTeamVivek/YukkiMusic > project,
5-
# and is released under the "GNU v3.0 License Agreement".
5+
# and is released under the MIT License.
66
# Please see < https://github.com/TheTeamVivek/YukkiMusic/blob/master/LICENSE >
77
#
88
# All rights reserved.
@@ -75,7 +75,6 @@ async def send_message(self, *args, **kwargs):
7575
chat_id = kwargs.get("chat_id") or args[0]
7676
if chat_id:
7777
await self.leave_chat(chat_id)
78-
7978

8079
async def send_photo(self, *args, **kwargs):
8180
try:
@@ -88,7 +87,10 @@ async def send_photo(self, *args, **kwargs):
8887
except ChatSendPhotosForbidden:
8988
chat_id = kwargs.get("chat_id") or args[0]
9089
if chat_id:
91-
await self.send_message(chat_id, "I don't have the right to send photos in this chat, leaving now..")
90+
await self.send_message(
91+
chat_id,
92+
"I don't have the right to send photos in this chat, leaving now..",
93+
)
9294
await self.leave_chat(chat_id)
9395

9496
async def start(self):
@@ -108,7 +110,7 @@ async def start(self):
108110
LOGGER(__name__).error(
109111
"Bot has failed to access the log group. Make sure that you have added your bot to your log channel and promoted as admin!"
110112
)
111-
# sys.exit()
113+
sys.exit()
112114
if config.SET_CMDS == str(True):
113115
try:
114116
await self.set_bot_commands(

0 commit comments

Comments
 (0)