Skip to content

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

Description

@proofrock

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions