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

<small id='7eAKL'></small><noframes id='7eAKL'>

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

        <bdo id='7eAKL'></bdo><ul id='7eAKL'></ul>
        <tfoot id='7eAKL'></tfoot>

        允許 Discord Rewrite 機器人響應其他機器人

        Allow Discord Rewrite bot to respond to other bots(允許 Discord Rewrite 機器人響應其他機器人)
          <bdo id='1J7NO'></bdo><ul id='1J7NO'></ul>
        • <i id='1J7NO'><tr id='1J7NO'><dt id='1J7NO'><q id='1J7NO'><span id='1J7NO'><b id='1J7NO'><form id='1J7NO'><ins id='1J7NO'></ins><ul id='1J7NO'></ul><sub id='1J7NO'></sub></form><legend id='1J7NO'></legend><bdo id='1J7NO'><pre id='1J7NO'><center id='1J7NO'></center></pre></bdo></b><th id='1J7NO'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='1J7NO'><tfoot id='1J7NO'></tfoot><dl id='1J7NO'><fieldset id='1J7NO'></fieldset></dl></div>

                  <tbody id='1J7NO'></tbody>
              1. <legend id='1J7NO'><style id='1J7NO'><dir id='1J7NO'><q id='1J7NO'></q></dir></style></legend>
              2. <tfoot id='1J7NO'></tfoot>

                  <small id='1J7NO'></small><noframes id='1J7NO'>

                  本文介紹了允許 Discord Rewrite 機器人響應其他機器人的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我有一個 Discord 機器人和一個用于 Discord 頻道的 webhook 設置,以每小時在 dot 上發送一個命令.然而,默認情況下,Discord Rewrite 似乎忽略了從其他機器人發送的命令.我該如何禁用它?

                  I have a Discord bot and a webhook setup for a Discord channel to send a command every hour on the dot. However it seems that Discord Rewrite by default ignores commands sent from other bots. How do I go about disabling this?

                  我需要在 per-command 函數或 on_message 函數上修改某些內容嗎?

                  Do I need to modify something on a per-command function or the on_message function?

                  當前消息

                  @bot.event
                  async def on_message(message):
                      await bot.process_commands(message)
                  

                  找到解決方案

                  @bot.event
                  async def on_message(message):
                      ctx = await bot.get_context(message)
                      await bot.invoke(ctx)
                  

                  推薦答案

                  嘗試為它添加一個檢查,例如:

                  try adding a check for it, example :

                  on_message

                  if message.author.bot == True:
                      #Do something
                  

                  命令

                  if ctx.author.bot == True:
                      #Do something
                  

                  這篇關于允許 Discord Rewrite 機器人響應其他機器人的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 - 自動更改角色顏色)

                  <small id='9jZTF'></small><noframes id='9jZTF'>

                    <tbody id='9jZTF'></tbody>
                • <tfoot id='9jZTF'></tfoot>

                          <bdo id='9jZTF'></bdo><ul id='9jZTF'></ul>
                          <legend id='9jZTF'><style id='9jZTF'><dir id='9jZTF'><q id='9jZTF'></q></dir></style></legend>
                          <i id='9jZTF'><tr id='9jZTF'><dt id='9jZTF'><q id='9jZTF'><span id='9jZTF'><b id='9jZTF'><form id='9jZTF'><ins id='9jZTF'></ins><ul id='9jZTF'></ul><sub id='9jZTF'></sub></form><legend id='9jZTF'></legend><bdo id='9jZTF'><pre id='9jZTF'><center id='9jZTF'></center></pre></bdo></b><th id='9jZTF'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='9jZTF'><tfoot id='9jZTF'></tfoot><dl id='9jZTF'><fieldset id='9jZTF'></fieldset></dl></div>
                            主站蜘蛛池模板: 亚洲视频精品在线 | 亚洲精品久久久9婷婷中文字幕 | 中文字幕第一页在线 | 精品自拍视频在线观看 | 欧美日韩国产在线 | 国产精品亚洲一区二区三区在线观看 | 欧美日韩大片 | 日韩美香港a一级毛片免费 国产综合av | 国产99久久久久 | 乳色吐息在线观看 | 91xxx在线观看 | 免费av在线网站 | 亚洲精品中文字幕中文字幕 | 国产成人99久久亚洲综合精品 | 久久影院一区 | 日韩欧美在线视频观看 | 欧美极品在线 | 午夜色婷婷 | 自拍偷拍中文字幕 | 羞羞视频在线观看免费观看 | 欧美一区二区成人 | 欧美性久久久 | 精品久久久久久 | 在线观看av中文字幕 | 国产一区h | 国产伊人精品 | 色久五月| 一级片av| 国产在线观看av | 国产精品久久久久久亚洲调教 | 北条麻妃视频在线观看 | 日韩在线免费播放 | 欧美日韩一区二区电影 | 精品一区二区三区在线观看国产 | 亚洲视频在线播放 | 国产成人aⅴ | 中文字幕精品一区久久久久 | 婷婷综合 | 爱草视频 | 色婷婷亚洲一区二区三区 | 81精品国产乱码久久久久久 |