Fix README
This commit is contained in:
@@ -102,7 +102,7 @@ from pytchat import ReplayChat
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
chat = ReplayChat("ojes5ULOqhc", seektime = 60*30)
|
chat = ReplayChat("ojes5ULOqhc", seektime = 60*30)
|
||||||
while True:
|
while chat.is_alive():
|
||||||
data = chat.get()
|
data = chat.get()
|
||||||
for c in data.items:
|
for c in data.items:
|
||||||
print(f"{c.elapsedTime} [{c.author.name}]-{c.message} {c.amountString}")
|
print(f"{c.elapsedTime} [{c.author.name}]-{c.message} {c.amountString}")
|
||||||
|
|||||||
Reference in New Issue
Block a user