fixed execution

This commit is contained in:
Saifeddine ALOUI 2024-04-28 11:17:22 +02:00
parent 40c890b02b
commit 802112c998
3 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ async def execute_code(request: CodeRequest):
elif language in ["bash","shell","cmd","powershell"]:
ASCIIColors.info("Executing shell code:")
ASCIIColors.yellow(code)
return execute_bash(code, client)
return execute_bash(code, client, message_id)
elif language in ["mermaid"]:
ASCIIColors.info("Executing mermaid code:")
ASCIIColors.yellow(code)

@ -1 +1 @@
Subproject commit a71a3d214244cd9a79ce9458fa1d1ae882c56193
Subproject commit 41577f470d46743616f2379fa114c40baf1b605e

@ -1 +1 @@
Subproject commit 1c243c5e46080fde07551a1765ef86ce48289e97
Subproject commit ef0e79d41487140c9d7c067aa4faf2a4d2baab68