im actually going to throw hands

This commit is contained in:
Nexus 2023-03-16 23:05:51 +00:00
parent 802d5b23e7
commit 4bad36d938

View file

@ -838,7 +838,7 @@ class OtherCog(commands.Cog):
engine.save_to_file(text, target_fn) engine.save_to_file(text, target_fn)
engine.runAndWait() engine.runAndWait()
while not os.path.exists(target_fn): while not os.path.exists(target_fn):
time_sleep(0.5) sleep(0.5)
with open(target_fn, "rb") as f: with open(target_fn, "rb") as f:
_io.write(f.read()) _io.write(f.read())
os.remove(target_fn) os.remove(target_fn)