[docs]classPlaylistSaveModal(discord.ui.Modal):def__init__(self,cog:DISCORD_COG_TYPE,button:discord.ui.Button,title:str,timeout:float|None=None,):self.cog=cogself._button=buttonsuper().__init__(title=title,timeout=timeout)self.text=discord.ui.TextInput(style=discord.TextStyle.short,label=shorten_string(max_length=100,string=_("Enter the name for the new playlist.")),placeholder=shorten_string(max_length=100,string=_("My awesome new playlist")),min_length=3,max_length=64,)self.add_item(self.text)