#35 チャット取得確認用出力追加

このコミットが含まれているのは:
2024-12-26 03:51:17 +00:00
コミット 12fbdbc7e2
+1 -5
ファイルの表示
@@ -771,16 +771,12 @@ class Broadcast:
if not self.chat.is_alive (): if not self.chat.is_alive ():
return None return None
chats = self.chat.get ().items chats = self.chat.get ().items
print (chats)
if not chats: if not chats:
return None return None
print (f"{ datetime.now () }: { chats }")
return random.choice (chats) return random.choice (chats)
class Log:
...
def fetch_bytes_from_url ( def fetch_bytes_from_url (
url: str, url: str,
) -> bytes | None: ) -> bytes | None: