More logging

This commit is contained in:
2024-04-09 13:26:44 +02:00
parent ed2167eae1
commit 6292cf26b7
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -681,6 +681,7 @@ async def check_music():
# trunk-ignore(pylint/R0915)
async def check_data_q():
channel = client.get_channel(1062047367337095268)
logger.info("Scan queue")
try:
data = IN_COMM_Q.get(block=False)
await channel.send(f"O. A tak będzie wyglądało coś ciekawego w przyszłości: {data}")
+1 -1
View File
@@ -71,4 +71,4 @@ def comm_subroutine(logger):
if __name__ == "__main__":
logging_client = logging.getLogger(__name__)
comm_subroutine(logging_client)
comm_subroutine(logging_client)