mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-18 07:42:09 +00:00
123
This commit is contained in:
@@ -589,6 +589,9 @@ async def check_data():
|
|||||||
# TODO: dlaczego sie tu wypierdala
|
# TODO: dlaczego sie tu wypierdala
|
||||||
logger.info("Heartbeat of cleanup proc")
|
logger.info("Heartbeat of cleanup proc")
|
||||||
channel = client.get_channel(1062047571557744721)
|
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:
|
if os.path.getsize(LOGFILE) > 6000000:
|
||||||
await channel.send(
|
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....*"
|
"*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