Python 图标url不是discord bot的有效语法

Python 图标url不是discord bot的有效语法,python,discord,embed,Python,Discord,Embed,我试图通过使用icon_url=“”为我正在制作的bot的嵌入式消息设置图标页脚,但它似乎不是有效的语法 embed = discord.Embed( title = f"{bot.user.name} Online!", color = discord.Color.teal() ) embed.set_footer( text = "footer" icon_url = "https://i.ibb.co/Z8dRtL3/Le

我试图通过使用icon_url=“”为我正在制作的bot的嵌入式消息设置图标页脚,但它似乎不是有效的语法

embed = discord.Embed(
    title = f"{bot.user.name} Online!",
    color = discord.Color.teal()

)
embed.set_footer(
text = "footer"
icon_url = "https://i.ibb.co/Z8dRtL3/Letter-B-line-geometric-logo-vector.jpg"

)
log_channel = bot.get_channel(log_channel_id)
await log_channel.send(embed = embed)
这是我收到的错误消息:

文件“main.py”,第23行 图标\u url=”https://i.ibb.co/Z8dRtL3/Letter-B-line-geometric-logo-vector.jpg" ^ SyntaxError:无效语法

embed = discord.Embed(
    title = f"{bot.user.name} Online!",
    color = discord.Color.teal()

)
embed.set_footer(
text = "footer"
icon_url = "https://i.ibb.co/Z8dRtL3/Letter-B-line-geometric-logo-vector.jpg"

)
log_channel = bot.get_channel(log_channel_id)
await log_channel.send(embed = embed)

你漏掉了一个逗号。天哪,你漏掉了一个逗号