Closed JokerQyou closed 1 year ago
I tested my code on macOS and Linux, including the Docker environment, and everything worked. However, if you are running the code on macOS, make sure it has the necessary permissions to read the config file.
When launching the program in Docker, try using the '/echo' command first to see if you receive a reply.
If you're having trouble getting a response from the bot, check the logs to see if it's receiving the messages you send. The bot logs every new message it receives and attempts to respond to each one.
Please keep me updated on your progress. Thank you!
utilitas
seems to have trouble locating the .halbot.json
in my setup.
I just installed halbot to the current directory inside a contaienr with npm i halbot
, but the config file path somehow got resolved to /root/..json
.
You are right. I will check about this.
Fixed in this commit: https://github.com/Leask/halbot/commit/e7297fe1f4169224ffad31e86c798851e433b498. Thank you all for caring about this!
@Leask Thanks for the speedy fix and sharing the project. It's really fun to interact with halbot on Telegram.
🍻
@JokerQyou Hi, I got the same problem, how did you fix this problem at last?
It’s already fixed: https://github.com/Leask/halbot/commit/e7297fe1f4169224ffad31e86c798851e433b498
I did not. I was stuck with this issue for several hours, and after spending some more time after creating the issue I have to move to other ChatGPT bot implementations.
@JokerQyou @elliclee Still not working? Please update to the latest version. It's been fixed. If there is still an issue, please come back and share some more info to help me to fix it.
@Leask I have solved the problem. Just remove the comments in the JSON file. Thx
When I run halbot locally:
When running inside docker container:
But the bot does not respond to anything in private chat.