<small id='8AJJt'></small><noframes id='8AJJt'>

    1. <i id='8AJJt'><tr id='8AJJt'><dt id='8AJJt'><q id='8AJJt'><span id='8AJJt'><b id='8AJJt'><form id='8AJJt'><ins id='8AJJt'></ins><ul id='8AJJt'></ul><sub id='8AJJt'></sub></form><legend id='8AJJt'></legend><bdo id='8AJJt'><pre id='8AJJt'><center id='8AJJt'></center></pre></bdo></b><th id='8AJJt'></th></span></q></dt></tr></i><div id='8AJJt'><tfoot id='8AJJt'></tfoot><dl id='8AJJt'><fieldset id='8AJJt'></fieldset></dl></div>
        <bdo id='8AJJt'></bdo><ul id='8AJJt'></ul>

      <tfoot id='8AJJt'></tfoot>

    2. <legend id='8AJJt'><style id='8AJJt'><dir id='8AJJt'><q id='8AJJt'></q></dir></style></legend>

        discord.py 嵌入 youtube 视频而无需粘贴链接

        时间:2023-10-10
          <tbody id='NMsqe'></tbody>
      1. <tfoot id='NMsqe'></tfoot>

          <bdo id='NMsqe'></bdo><ul id='NMsqe'></ul>

                <i id='NMsqe'><tr id='NMsqe'><dt id='NMsqe'><q id='NMsqe'><span id='NMsqe'><b id='NMsqe'><form id='NMsqe'><ins id='NMsqe'></ins><ul id='NMsqe'></ul><sub id='NMsqe'></sub></form><legend id='NMsqe'></legend><bdo id='NMsqe'><pre id='NMsqe'><center id='NMsqe'></center></pre></bdo></b><th id='NMsqe'></th></span></q></dt></tr></i><div id='NMsqe'><tfoot id='NMsqe'></tfoot><dl id='NMsqe'><fieldset id='NMsqe'></fieldset></dl></div>

                <small id='NMsqe'></small><noframes id='NMsqe'>

                • <legend id='NMsqe'><style id='NMsqe'><dir id='NMsqe'><q id='NMsqe'></q></dir></style></legend>
                • 本文介绍了discord.py 嵌入 youtube 视频而无需粘贴链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我正在玩一个 discord.py 机器人,我几乎已经完成了我需要的所有工作(目前),但我终其一生都无法弄清楚如何使用 Embed 嵌入 YouTube 视频().

                  I am playing around with a discord.py bot, I have pretty much everything working that I need (at this time), but I can't for the life of me figure out how to embed a YouTube video using Embed().

                  我真的没有任何代码可以发布,因为它们都没有正常工作.

                  I don't really have any code to post per-say, as none of it has worked correctly.

                  注意:我尝试过到处搜索(这里 + 网络),我看到很多关于嵌入图像的信息,效果很好.

                  Note: I've tried searching everywhere (here + web), I see plenty of info on embedding images which works great.

                  我确实在 discord API 中看到了嵌入视频的详细信息,以及 discord.py 的 API 文档;但没有明确的例子说明如何实现它.

                  I do see detail in the discord API for embedding video, as well as the API Documentation for discord.py; but no clear example of how to pull it off.

                  我正在使用命令(我正在开发的模块)

                  I am using commands (the module I am working on as a cog)

                  任何帮助将不胜感激.

                  环境:

                  • Discord.py 版本:0.16.11
                  • Python:3.5.2
                  • 平台:OS X
                  • 虚拟环境:是的

                  推荐答案

                  不幸的是,您所要求的是不可能的,因为 Discord API 不允许您在嵌入中设置自定义视频.

                  What you are asking for is unfortunately impossible, since Discord API does not allow you to set custom videos in embeds.

                  这篇关于discord.py 嵌入 youtube 视频而无需粘贴链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:如何正确解析我的 Discord 机器人中的标记用户? 下一篇:有没有办法用 discord.py 发送好友请求?

                  相关文章

                  最新文章

                  <legend id='TBu5T'><style id='TBu5T'><dir id='TBu5T'><q id='TBu5T'></q></dir></style></legend>

                  1. <tfoot id='TBu5T'></tfoot>

                      <bdo id='TBu5T'></bdo><ul id='TBu5T'></ul>
                    1. <small id='TBu5T'></small><noframes id='TBu5T'>

                      <i id='TBu5T'><tr id='TBu5T'><dt id='TBu5T'><q id='TBu5T'><span id='TBu5T'><b id='TBu5T'><form id='TBu5T'><ins id='TBu5T'></ins><ul id='TBu5T'></ul><sub id='TBu5T'></sub></form><legend id='TBu5T'></legend><bdo id='TBu5T'><pre id='TBu5T'><center id='TBu5T'></center></pre></bdo></b><th id='TBu5T'></th></span></q></dt></tr></i><div id='TBu5T'><tfoot id='TBu5T'></tfoot><dl id='TBu5T'><fieldset id='TBu5T'></fieldset></dl></div>