久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

        <bdo id='Tir54'></bdo><ul id='Tir54'></ul>
    1. <legend id='Tir54'><style id='Tir54'><dir id='Tir54'><q id='Tir54'></q></dir></style></legend>

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

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

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

        如何提及命令的發送者?不和諧.py

        How to mention a sender of a command? discord.py(如何提及命令的發送者?不和諧.py)

          <tfoot id='OJF4k'></tfoot>

              <tbody id='OJF4k'></tbody>
              • <i id='OJF4k'><tr id='OJF4k'><dt id='OJF4k'><q id='OJF4k'><span id='OJF4k'><b id='OJF4k'><form id='OJF4k'><ins id='OJF4k'></ins><ul id='OJF4k'></ul><sub id='OJF4k'></sub></form><legend id='OJF4k'></legend><bdo id='OJF4k'><pre id='OJF4k'><center id='OJF4k'></center></pre></bdo></b><th id='OJF4k'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='OJF4k'><tfoot id='OJF4k'></tfoot><dl id='OJF4k'><fieldset id='OJF4k'></fieldset></dl></div>
                <legend id='OJF4k'><style id='OJF4k'><dir id='OJF4k'><q id='OJF4k'></q></dir></style></legend>
                  <bdo id='OJF4k'></bdo><ul id='OJF4k'></ul>
                • <small id='OJF4k'></small><noframes id='OJF4k'>

                  本文介紹了如何提及命令的發送者?不和諧.py的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我創建了一個超級簡單的 .report <person> 命令.我有它,所以當有人鍵入它時它將被發送到某個頻道.我想做的是讓它顯示報告其他用戶的用戶的名稱.我不知道該怎么做.有誰知道最好的方法嗎?

                  I created a super simple .report <person> command. I have it so it will be sent to a certain channel when someone types it. What I wanted to do is have it display the name of the user who reported the other user. I don't know how to go about doing that. Does anyone know the best way?

                  @bot.command()
                  async def report(*, message):
                      await bot.delete(message)
                      await bot.send_message(bot.get_channel("479177111030988810"), message)
                  

                  推薦答案

                  你可以這樣做,獲取上下文 (ctx) 并從中獲取消息的內容及其作者

                  You could do something like this, where you take the context (ctx) and from it get the contents of the message and its author

                  @bot.command(pass_context=True)
                  async def report(ctx):
                      await bot.delete_message(ctx.message)
                      report = f""{ctx.message.content[8:]}"  sent by {ctx.message.author}"
                      await bot.send_message(bot.get_channel("479177111030988810"), report)
                  

                  這篇關于如何提及命令的發送者?不和諧.py的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                  Discord bot isn#39;t responding to commands(Discord 機器人沒有響應命令)
                  Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關于我嗎?Discord 機器人的功能?(不和諧.py))
                  message.channel.id Discord PY(message.channel.id Discord PY)
                  How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機器人?)
                  discord.py - Automaticaly Change an Role Color(discord.py - 自動更改角色顏色)
                  1. <small id='It7OD'></small><noframes id='It7OD'>

                      • <tfoot id='It7OD'></tfoot>

                        <i id='It7OD'><tr id='It7OD'><dt id='It7OD'><q id='It7OD'><span id='It7OD'><b id='It7OD'><form id='It7OD'><ins id='It7OD'></ins><ul id='It7OD'></ul><sub id='It7OD'></sub></form><legend id='It7OD'></legend><bdo id='It7OD'><pre id='It7OD'><center id='It7OD'></center></pre></bdo></b><th id='It7OD'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='It7OD'><tfoot id='It7OD'></tfoot><dl id='It7OD'><fieldset id='It7OD'></fieldset></dl></div>
                        <legend id='It7OD'><style id='It7OD'><dir id='It7OD'><q id='It7OD'></q></dir></style></legend>

                            <tbody id='It7OD'></tbody>
                            <bdo id='It7OD'></bdo><ul id='It7OD'></ul>
                          • 主站蜘蛛池模板: 国产九九精品视频 | 国产成人免费 | 精品美女在线观看视频在线观看 | 国产日韩av一区二区 | 日韩在线播放一区 | 精品亚洲一区二区三区四区五区 | 久久久久久黄 | 日日夜夜精品免费视频 | 欧美日韩综合精品 | 精品国产精品一区二区夜夜嗨 | 欧美日在线 | 欧美国产视频一区二区 | 黄色网一级片 | 欧美亚洲视频 | 精品视频在线免费观看 | 久久综合九色综合欧美狠狠 | 成人视屏在线观看 | 欧美一区不卡 | 久久精品亚洲精品国产欧美 | 黑人精品欧美一区二区蜜桃 | 日韩精品一区二区三区在线 | 国产.com| 毛片入口 | 999久久久精品 | www.久久99| 欧美一级免费看 | 亚洲一区二区三区在线免费观看 | 午夜一区| 精品国产欧美日韩不卡在线观看 | av成人在线观看 | 国产三区四区 | 99精品久久| 日本超碰| 在线精品一区二区三区 | 女朋友的闺蜜3韩国三级 | 成年视频在线观看福利资源 | 国产乱码久久久久久 | 久久国产精品首页 | 国产小视频在线观看 | 男人久久天堂 | 第一福利社区1024 |