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

    1. <small id='Wa2Hu'></small><noframes id='Wa2Hu'>

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

        Discord.py 使用 wait_for 檢查用戶輸入

        Discord.py checking user input with wait_for(Discord.py 使用 wait_for 檢查用戶輸入)

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

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

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

                    <tbody id='QhXCT'></tbody>

                1. 本文介紹了Discord.py 使用 wait_for 檢查用戶輸入的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在嘗試創建一個日志設置命令,例如:消息編輯日志會打開嗎?"如果是:發送頻道 ID.我試圖創建的命令與此類似.我的代碼是這樣的.我是 discord.py 的菜鳥.這是代碼,感謝您的幫助.

                  I am trying to create a log setup command like: "Are message edit logs going to be on?" if yes: send the channel id. The command im trying to create is something similar to this. My code is this. I'm a noob in discord.py. Here is the code and thanks for the help.

                  注意:執行命令時我沒有得到任何輸出.

                  Note: I don't get any output when the command is executed.

                  @bot.command(name="logsetup")
                  @commands.guild_only()
                  @commands.has_any_role("Head Admininstaror", "Adminstaror", "Owner")
                  async def log_setup(self, ctx):
                      await ctx.send("Message edit logs: On/Off")
                      msg = await bot.wait_for('message', check=lambda message: message.author == ctx.author)
                      if msg.content.lower() == "on":
                          print("Working.")
                          await ctx.send("Send the channel ID.")
                          msg = await bot.wait_for('message', check=lambda message: message.author == ctx.author)
                          editedMessageChannel = msg.content
                          ctx.send("Channel is set.")
                  

                  推薦答案

                  我在@Kelo 的幫助下發現了問題.感謝他/她,我發現我忘記添加自我了.

                  I found the problem with the help of @Kelo. Thanks to him/her, I found out that i forgot to add self.

                  這篇關于Discord.py 使用 wait_for 檢查用戶輸入的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 - 自動更改角色顏色)
                  <i id='yeS7H'><tr id='yeS7H'><dt id='yeS7H'><q id='yeS7H'><span id='yeS7H'><b id='yeS7H'><form id='yeS7H'><ins id='yeS7H'></ins><ul id='yeS7H'></ul><sub id='yeS7H'></sub></form><legend id='yeS7H'></legend><bdo id='yeS7H'><pre id='yeS7H'><center id='yeS7H'></center></pre></bdo></b><th id='yeS7H'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='yeS7H'><tfoot id='yeS7H'></tfoot><dl id='yeS7H'><fieldset id='yeS7H'></fieldset></dl></div>

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

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

                    • <bdo id='yeS7H'></bdo><ul id='yeS7H'></ul>
                          <tbody id='yeS7H'></tbody>
                        <tfoot id='yeS7H'></tfoot>

                          • 主站蜘蛛池模板: 亚洲风情在线观看 | 欧美成人精品激情在线观看 | 国产99久久精品一区二区永久免费 | 久久久久久网站 | av一级在线观看 | 成人av一区 | 99热都是精品 | 超碰在线免费公开 | 久久久福利 | 亚洲激情自拍偷拍 | 日韩不卡视频在线观看 | 日韩视频 中文字幕 | 欧美激情一区二区 | 国产精品久久久久一区二区三区 | 精品成人 | 久久99精品久久久久久 | av网站在线免费观看 | 亚洲精品一区二三区不卡 | 天天干天天操天天爽 | 欧美aaa一级片 | 91久久久久 | 亚洲成人一二三 | 国产目拍亚洲精品99久久精品 | 欧美人妖网站 | 亚洲视频免费观看 | 希岛爱理在线 | 国产91精品久久久久久久网曝门 | 激情 亚洲| 最新黄色毛片 | 欧美成人一区二区三区片免费 | 久久久久久国产 | 国产一区在线免费观看 | 国产一区亚洲 | 91不卡 | 亚洲国产精品一区二区第一页 | 国产精品精品久久久 | 免费国产一区二区 | 欧美二区在线 | 成人高清视频在线观看 | www.99热| 久久久精彩视频 |