This commit is contained in:
2024-03-29 22:07:12 +01:00
parent b7b89d1751
commit f4f7b038df
+3
View File
@@ -589,6 +589,9 @@ async def check_data():
# TODO: dlaczego sie tu wypierdala
logger.info("Heartbeat of cleanup proc")
channel = client.get_channel(1062047571557744721)
messages = [message async for message in channel.history(limit=1)]
for mess in messages:
channel = mess.channel
if os.path.getsize(LOGFILE) > 6000000:
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....*"