【发布时间】:2020-12-04 18:00:57
【问题描述】:
我在 discord.py 中有一个函数,!donate。该函数有一个指向我的捐赠页面的链接,但是使用页面标题和我不想要的其他信息创建了一个嵌入。有什么方法可以在不删除短信的情况下删除嵌入?
@bot.command()
async def donate(ctx):
await ctx.channel.send(ctx.author.mention + ", if you want to donate to the developer to contribute to the development of the bot, you can do so by visiting this link:\n\nhttps://donatebot.io/checkout/783063012163846194?buyer=777338793803513886\n\nAll donations are highly appreciated.")
【问题讨论】:
-
把你的链接放在之间,比如
<https://donatebot.io/checkout/783063012163846194?buyer=777338793803513886>,它不会创建嵌入
标签: python python-3.x discord discord.py