久久久久久久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>

                          主站蜘蛛池模板: 免费成年网站 | 国产91精品久久久久久久网曝门 | 黄色一级视频 | 国产精品久久久久一区二区三区 | 自拍亚洲 | 亚洲国产精品视频 | 国产欧美三区 | 日韩在线观看一区二区三区 | 国产精品国产精品国产专区不卡 | 国产视频一区二区在线观看 | 国产综合视频 | 一本色道精品久久一区二区三区 | 天天搞夜夜操 | 黄色免费在线观看网址 | 日一区二区 | 亚欧精品一区 | 99精品欧美一区二区三区综合在线 | 亚洲欧美日韩精品久久亚洲区 | 久久久久久久久99 | 二区在线视频 | 亚洲一区二区国产 | 国产精品久久久久无码av | 日本色高清 | 精品国产乱码久久久久久果冻传媒 | m豆传媒在线链接观看 | 少妇午夜一级艳片欧美精品 | 欧美视频三区 | 国产精品69毛片高清亚洲 | 一区二区高清 | 亚洲欧洲在线观看视频 | 羞羞色在线观看 | 911精品国产| 久久久久久久国产 | 午夜国产一级 | 国产成人久久精品 | 断背山在线观看 | 欧美日韩国产精品一区二区 | 久久国产综合 | 日韩成年人视频在线 | 日韩精品在线网站 | a级免费黄色片 |