Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid .env config #113

Open
behzads2 opened this issue Mar 16, 2023 · 0 comments
Open

Invalid .env config #113

behzads2 opened this issue Mar 16, 2023 · 0 comments

Comments

@behzads2
Copy link

Hello there,

It sounds like you have set your Telegram bot token in an environment variable within a file named env.env. However, you are still encountering issues when launching the GPT bot.

To help diagnose the issue, can you provide more information about the error message or behavior that you are experiencing? This will help to narrow down the possible causes and find a solution.

In the meantime, make sure that the env.env file is in the same directory as the chatgpt-telegram executable file, and that the TELEGRAM_TOKEN environment variable is spelled correctly and matches the format expected by the GPT bot. Also, double-check that the env.env file is being loaded by the GPT bot when it launches.

Let me know if you have any further questions or if you encounter any specific error messages.

Screenshot 2023-03-16 at 20 02 02

Last login: Thu Mar 16 20:02:54 on ttys001
mrb@mym ~ % /Users/mrb/Desktop/chatgpt-telegram-Darwin-amd64/chatgpt-telegram ; exit;
2023/03/16 20:04:34 Started ChatGPT
2023/03/16 20:04:34 config file .env does not exist, using env variables
2023/03/16 20:04:34 Invalid .env config: TELEGRAM_TOKEN is not set

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant