【发布时间】:2020-08-18 02:15:36
【问题描述】:
我知道在 discord.py 中,您可以将嵌入的 set_image 设置为图像的 url。但是,我想在我的计算机上使用本地文件作为 set_image 而不是图像的 url。
embed = discord.Embed(title="Title", description="Desc", color=0x00ff00)
embed.set_image(url = "https://example.com/image.png") #this is for set_image using url
我怎样才能做到这一点?有没有别的功能什么的?
【问题讨论】:
标签: python python-3.x discord.py