Open gcentauri opened 4 years ago
Seems like as long as you don't log out your bot user, you can just store the access token in a file and it will continue working.
I was looking at this: https://github.com/diffbot/diffbot-erlang-client/blob/master/src/dfbcli.hrl and thought it would be nice to define a lot of the matrix api configuration in a file like this.
Ah yeah that'd be handy. Erlang's way to do "constants".
Seems like as long as you don't log out your bot user, you can just store the access token in a file and it will continue working.
I was looking at this: https://github.com/diffbot/diffbot-erlang-client/blob/master/src/dfbcli.hrl and thought it would be nice to define a lot of the matrix api configuration in a file like this.