Ironjanowar/daily_bot

Hide token to make repo public

Closed this issue · 6 comments

With an env var or something.

Maybe the good old bot.token, ignored in the .gitignore and a run.sh that reads the token and sets it as an env var :D

@rockneurotiko how did we get the env vars from config/config.exs ??

Telex.Config.get(...)

Not the ones defined in config/config.exs, I mean:

config :meh,
    mehe: {:system, ...} # Something like that (?)
config :meh,
    mehe: {:system, "BOT_API_TOKEN"}

#sanks

#learn2read