mirror of
https://github.com/Xtao-Labs/Telegram-Custom-Artwork-Api.git
synced 2024-12-04 20:11:40 +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
|