Spotify命令
我试了很多东西,但都没能成功
@client.command()
async def spotify(ctx, user: discord.Member = None):
embedspotify = discord.Embed(title=f"{user.name}'s Spotify", color=0x1eba10)
embedspotify.add_field(name="Song", value=Spotify.title)
embedspotify.add_field(name="Artist", value=Spotify.artist)
embedspotify.add_field(name="Album", value=Spotify.album)
embedspotify.set_thumbnail(url=Spotify.album_cover_url)
我正在尝试获取spotify歌曲的标题、艺术家的名字和我使用命令的人的专辑的名字(当他们在听spotify时)
您需要从} 实例:
Member
正在执行的活动列表中获取^{相关问题 更多 >
编程相关推荐