We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b3483b commit 8a750c8Copy full SHA for 8a750c8
docs/getting-started/faq.rst
@@ -100,11 +100,11 @@ If you do not know your user ID you can quickly fetch it using the :meth:`~twitc
100
CLIENT_SECRET: str = "..."
101
102
async def main() -> None:
103
- async with twitchio.Client(client_id=CLIENT_ID, client_secret=CLIENT_SECRET) as client:
104
- await client.login()
105
- user = await client.fetch_users(logins=["chillymosh", "my_bot"])
106
- for u in user:
107
- print(f"User: {u.name} - ID: {u.id}")
+ async with twitchio.Client(client_id=CLIENT_ID, client_secret=CLIENT_SECRET) as client:
+ await client.login()
+ user = await client.fetch_users(logins=["chillymosh", "my_bot"])
+ for u in user:
+ print(f"User: {u.name} - ID: {u.id}")
108
109
if __name__ == "__main__":
110
asyncio.run(main())
0 commit comments