File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -100,11 +100,11 @@ If you do not know your user ID you can quickly fetch it using the :meth:`~twitc
100
100
CLIENT_SECRET: str = "..."
101
101
102
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}")
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}")
108
108
109
109
if __name__ == "__main__":
110
110
asyncio.run(main())
You can’t perform that action at this time.
0 commit comments