mirror of
https://github.com/Xtao-Labs/Telegram-Custom-Artwork-Api.git
synced 2024-12-04 04:07:27 +00:00
7 lines
240 B
Python
7 lines
240 B
Python
class Music:
|
|
def __init__(self, name: str, album: str, artist: str = ""):
|
|
self.name = name
|
|
self.album = album
|
|
self.artist = artist
|
|
self.name = f"{self.artist} - {self.name}" if self.artist else self.name
|