From b8bc00d880277cd22e0088118b516c332a5f86b0 Mon Sep 17 00:00:00 2001 From: taizan-hokuto <55448286+taizan-hokuto@users.noreply.github.com> Date: Mon, 30 Dec 2019 17:27:25 +0900 Subject: [PATCH] Fix README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e8bae28..218561d 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ from pytchat import ReplayChat def main(): chat = ReplayChat("ojes5ULOqhc", seektime = 60*30) - while True: + while chat.is_alive(): data = chat.get() for c in data.items: print(f"{c.elapsedTime} [{c.author.name}]-{c.message} {c.amountString}")