mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-15 14:22:13 +00:00
123
This commit is contained in:
@@ -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....*"
|
||||
|
||||
Reference in New Issue
Block a user