【发布时间】:2021-11-21 10:03:51
【问题描述】:
我正在为我的服务器制作一个不和谐的机器人,我想在用户投票时发送 2 个链接。
client = discord.Client()
@client.event
async def on_message(message):
if message.content.startswith (']svote') :
await message.add_reaction (doubleupemote)
embed=discord.Embed(title="Vote the Server", url="https://top.gg/servers/876028384042426368/vote", color=0x00fa11)
await message.channel.send(embed=embed)
在这里,它发送一个带有 Vote The Server 的嵌入。有什么方法可以为同一个嵌入添加另一个标题吗?
或任何替代方式发送
为机器人投票
投票给服务器
我想在这 2 个句子中插入 2 个链接。
【问题讨论】:
-
我不知道你为什么投反对票 :(
标签: duplicates discord.py embed title