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