mumixam / weechat-twitch

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

Within a channel timeout, check for ban reason existing as a key #3

Closed devlogic closed 6 years ago

devlogic commented 6 years ago

key before using its value. There's an explicit check for this outside of a timeout, but within the timeout it throws a KeyError if someone is timed out without a reason.

mumixam commented 6 years ago

Thank you Ive recently noticed this starting to show up and fixed it in my local script but never got around to committing changes here.

devlogic commented 6 years ago

Happy to help!