diff --git a/matrixai/__init__.py b/matrixai/__init__.py index 15738a9..6338240 100644 --- a/matrixai/__init__.py +++ b/matrixai/__init__.py @@ -736,7 +736,7 @@ def run(): steps="70", negative=negative, ) - bot.api.send_markdown_message(room.room_id, f"{filename}") + await bot.api.send_markdown_message(room.room_id, f"{filename}") try: with open(filename, mode="wb") as img_file: img_file.write(img_data)