Eri*_*Roy 3 python-3.x discord discord.py
我正在尝试通过 Discord 机器人发送包含链接的消息(例如:有关更多信息,请单击以下链接)。
问题是,每次我发送它时,Discord 都会为该消息生成一个嵌入,这在正常情况下会很好,但我不想要它,因为它看起来非常垃圾邮件。
我尝试用它来停止嵌入embed=None,但它没有完成它的工作。
msg = await channel.send("Click on this link: https://somewhere.com", embed=None)
Run Code Online (Sandbox Code Playgroud)
Acording to the docs, i should use embed=discord.Embed.Empty, but it is throwing me an error inside the lib files.
Any ideas? Maybe i could edit the message after sending it and try to remove the embed, but i don't think it will work...
Łuk*_*ski 11
Simply put the link between <>
msg = await channel.send("Click on this link: <https://somewhere.com>")
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6797 次 |
| 最近记录: |