This commit is contained in:
2024-03-29 21:53:09 +01:00
parent a88fee2e62
commit b7b89d1751
+1 -3
View File
@@ -588,8 +588,8 @@ async def check_data():
# trunk-ignore(codespell/misspelled)
# TODO: dlaczego sie tu wypierdala
logger.info("Heartbeat of cleanup proc")
channel = client.get_channel(1062047571557744721)
if os.path.getsize(LOGFILE) > 6000000:
channel = client.get_channel(1062047571557744721)
await channel.send(
"*Conjurer porządkuje bar, wypala szklanki do czysta miotaczem płomieni ze swojej zbroi i ogólnie wygląda na zajętego....*"
)
@@ -602,7 +602,6 @@ async def check_data():
)
if os.path.getsize(MEMORY_FIVE_MUZYKA) > 300000:
channel = client.get_channel(1062047571557744721)
await channel.send(
"*Conjurer porządkuje bar, wypala szklanki do czysta miotaczem płomieni ze swojej zbroi i ogólnie wygląda na zajętego....*"
)
@@ -648,7 +647,6 @@ async def check_data():
tdelta = tdelta.total_seconds()
logger.info(tdelta)
if tdelta > 12:
channel = client.get_channel(1062047571557744721)
LAST_SPONTANEOUS_CALL = datetime.now()
with channel.typing():
message = get_random_cyclic_message()