Skip to content

Commit 8a750c8

Browse files
committed
Better indentation on snippet
1 parent 7b3483b commit 8a750c8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/getting-started/faq.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ If you do not know your user ID you can quickly fetch it using the :meth:`~twitc
100100
CLIENT_SECRET: str = "..."
101101
102102
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}")
108108
109109
if __name__ == "__main__":
110110
asyncio.run(main())

0 commit comments

Comments
 (0)