mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
More logging
This commit is contained in:
@@ -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}")
|
||||
|
||||
@@ -71,4 +71,4 @@ def comm_subroutine(logger):
|
||||
|
||||
if __name__ == "__main__":
|
||||
logging_client = logging.getLogger(__name__)
|
||||
comm_subroutine(logging_client)
|
||||
comm_subroutine(logging_client)
|
||||
|
||||
Reference in New Issue
Block a user