PythonistaGuild / TwitchIO

An Async Bot/API wrapper for Twitch made in Python.
https://twitchio.dev
MIT License
791 stars 163 forks source link

Add user_id property to client #256

Closed tkdrob closed 2 years ago

tkdrob commented 2 years ago

Pull request summary

Exposes the user_id associated with the token. This is useful as a unique identifier in applications where we only want a single instance configurable by the user.

Checklist

tkdrob commented 2 years ago

Missing changelog and documentation updates, otherwise looks good

Sure, no problem. I do have other PRs I want to propose before a version bump. So I will update changelog without a version heading for now.

IAmTomahawkx commented 2 years ago

You can just leave the header as Master, Development etc

tkdrob commented 2 years ago

You can just leave the header as Master, Development etc

I don't see nick referenced in the docs except for the examples so I'm not sure if user_id should be disclosed anywhere else.