Fix README

This commit is contained in:
taizan-hokuto
2019-12-19 02:00:41 +09:00
parent cf9aae3322
commit 9f5d3f323e

View File

@@ -99,6 +99,8 @@ import asyncio
async def main(): async def main():
chat = ReplayChatAsync("G1w62uEMZ74", seektime = 1000, callback = func) chat = ReplayChatAsync("G1w62uEMZ74", seektime = 1000, callback = func)
while chat.is_alive():
await asyncio.sleep(3)
#other background operation here. #other background operation here.
#callback function is automatically called periodically. #callback function is automatically called periodically.