This repository has been archived by the owner on Aug 3, 2023. It is now read-only.
Writing Bot Answer to file than execute Bash Command #379
Unanswered
ProfDrLuigi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I´m playing around with this nice project. Working so far very fine. But now I want that the answer of the Bot is written to a file (e.g. output.txt) and after complete saving the answer a bash command should be executed. Every future answer of the bot should be overwritten so that only one answer is always in the output.txt. I tried changing the code but it does not work properly. I ask openAI too but no answer was helpful for me in this case.
Can anyone show me what I must insert the code to achieve the given task? by the way it´s for this project:
https://github.com/ProfDrLuigi/wirebot
PS:
Solved it. After
print("Bot:")
put
and after
put
Beta Was this translation helpful? Give feedback.
All reactions