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

Conf file in the same folder as the script doesn't seem to work #30

Open
proofrock opened this issue Sep 27, 2022 · 1 comment
Open

Comments

@proofrock
Copy link

Hi!
first of all, thanks for this great script. With the latest version, I created a file telegram.sh.conf with:

TELEGRAM_TOKEN="1999969932:..."
TELEGRAM_CHAT="599931726"

I put this file in the same folder as the script, even cded to that folder (is it necessary?) but:

[mano@aralex AUR]$ ./telegram.sh ciao
No bot token was given.

If I move the conf file to the home dir, renaming it with a leading dot, it all works. Is this correct? From what I read on the README, the first method should work too.

Thanks a lot,

  G.
@proofrock
Copy link
Author

Ah ok, the right name for the file is .telegram.sh.conf so the README is at fault here. IMHO it would be nice that it didn't have the dot, it would be a pain to have an hidden file in a folder that is "dedicated" to the script.

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