FugiTech / kaet

Chat bot for twitch.tv/kate
MIT License
7 stars 5 forks source link

Pull channel and bot name from the environment #4

Closed r4v5 closed 7 years ago

r4v5 commented 7 years ago

Also, document-ish what all these environment variables actually do. I may have misinterpreted one or two of them.

r4v5 commented 7 years ago

(note that you'll probably want to set $CHANNEL and $USER in run.sh before hitting merge on this, or kaet will go down.)

rakslice commented 7 years ago

I went with BOT_USER so as not to conflict with the USER variable from the OS :)

r4v5 commented 7 years ago

Oh, that's a good point and we'd probably wanna prepend BOT_ on the others too.