Browse Source

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

ai-migration
みてるぞ 3 weeks ago
parent
commit
12fbdbc7e2
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      test.py

+ 1
- 5
test.py View File

@@ -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:


Loading…
Cancel
Save