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

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

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

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

      <tfoot id='E38h4'></tfoot>
    2. 如何從 tweepy 異步 on_status?

      How do I async on_status from tweepy?(如何從 tweepy 異步 on_status?)
      • <bdo id='k8xMQ'></bdo><ul id='k8xMQ'></ul>
          <tbody id='k8xMQ'></tbody>

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

        <tfoot id='k8xMQ'></tfoot>

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

                本文介紹了如何從 tweepy 異步 on_status?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我得到的錯誤是:

                RuntimeWarning: coroutine 'StdOutListener.on_status' was never awaited
                if self.on_status(status) is False:
                RuntimeWarning: Enable tracemalloc to get the object allocation traceback
                

                我的 stdOutListener 看起來像這樣:

                My stdOutListener looks like this:

                class StdOutListener(StreamListener):
                
                async def on_status(self, status):
                    channel = await bot.get_channel(64970710814)
                    await channel.send(status.text)
                

                我知道我需要將 on_status 稱為 async'd,但我該怎么做呢?我已經嘗試等待 on_status 中的大部分內容

                I understand that I need to get on_status called async'd, but how do I do this? I've tried awaiting most of the things inside on_status

                推薦答案

                Tweepy 還沒有 asyncio 支持.為此,請參閱 https://github.com/tweepy/tweepy/issues/732.

                Tweepy doesn't yet have asyncio support. For that, see https://github.com/tweepy/tweepy/issues/732.

                相反,您可以使用 is_async 參數在單獨的線程中運行流.請參閱 https://tweepy.readthedocs.io/en/latest/streaming_how_to.html#async-streaming.

                Instead, you can use the is_async parameter to run the stream in a separate thread. See https://tweepy.readthedocs.io/en/latest/streaming_how_to.html#async-streaming.

                這篇關于如何從 tweepy 異步 on_status?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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='09CBn'></small><noframes id='09CBn'>

                      • <bdo id='09CBn'></bdo><ul id='09CBn'></ul>

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

                          主站蜘蛛池模板: 国产成人精品a视频 | a看片| 韩日精品在线观看 | 精品久久久久国产免费第一页 | 日韩精品999 | 天天插天天搞 | 中文字幕在线视频免费观看 | 五月网婷婷 | 久久精品成人一区 | 密室大逃脱第六季大神版在线观看 | 五月天国产 | 成人无遮挡毛片免费看 | 91久久精品国产91久久性色tv | 午夜av在线 | 狠狠天天| 澳门永久av免费网站 | yiren22 亚洲综合 | 91啪影院 | 中文字幕日韩在线观看 | 一级黄色片免费 | 九九99靖品 | 国产精品中文 | 可以免费观看的av片 | 国产精品一二三区 | 一区中文字幕 | 一区二区在线不卡 | 国产999精品久久久 午夜天堂精品久久久久 | 欧美精品91爱爱 | 极品销魂美女一区二区 | 偷拍亚洲色图 | 日韩精品在线看 | 成人一区精品 | 久久国内| 黄色日本视频 | 欧美日韩一二三区 | 国产精品国产a | 国产精品久久久久久久毛片 | 日韩一区二区黄色片 | 视频三区| 国产九九精品 | 欧美一级黄色网 |