mumixam / weechat-twitch

Checks status of streams using twitch api
31 stars 9 forks source link

Allow token to be stored securely #10

Closed jloh closed 3 years ago

jloh commented 3 years ago

I love this extension and use it a lot. It would be fantastic if the oAuth token could be stored inside the secure data storage feature.

mumixam commented 3 years ago

try with the latest commit. https://github.com/mumixam/weechat-twitch/commit/b9ab44d3fbd263bf0e7b4cfafba3e8ce5339d6dd

How to use:

/secure set twitchtoken "My.Token"
/set plugins.var.python.twitch.token ${sec.data.twitchtoken}
jloh commented 3 years ago

Thanks! I can confirm this works perfectly.

jloh commented 3 years ago

Would be great to get a new version released so weechat.org picks the change up 👍