久久久久久久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热精品久久 | 国产精品一区二区在线播放 | 特黄特黄a级毛片免费专区 av网站免费在线观看 | 日韩欧美天堂 | 精品一区二区三区免费视频 | 日日噜噜噜夜夜爽爽狠狠视频, | 国产一区2区 | 国产99久久精品一区二区永久免费 | 成人在线免费观看 | 国产精品久久久亚洲 | 欧美一区二区三区在线观看 | 国产精品久久久久久久久久久久午夜片 | 奇米影视77 | 免费xxxx大片国产在线 | 久久国产精品72免费观看 | 亚洲精品在线免费观看视频 | 欧美成人h版在线观看 | 国产久视频 | 中文字幕日韩在线 | 婷婷激情在线 | 日韩电影在线一区 | 国产成人99久久亚洲综合精品 | 精品视频一二区 | 国产在线播放一区二区三区 | 美女久久 | 亚洲成a人片 | 91午夜在线 | 国产欧美精品在线观看 | 国产日韩欧美在线观看 | 国产二区三区 | 一区二区免费视频 | 男女羞羞视频免费 | 欧美中文字幕 | 人人看人人爽 | 欧美1页| 日韩久久中文字幕 | 日韩一区二区不卡 | 日日综合 | 精品粉嫩aⅴ一区二区三区四区 | 国产成人精品免费视频 | 久久午夜电影 |