From e507e86faf049751218a08f6488545ec77d33309 Mon Sep 17 00:00:00 2001 From: Gabriel Rufino Date: Mon, 11 Nov 2019 10:51:31 -0300 Subject: [PATCH] Fix typo in documentation: `onlineIDs` -> `onlineIds` (#105) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 454dcbf..c1b975d 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ parameters defining the endpoint, payload and if authorization is required (respectively). See the [REST API docs][rest] for details. Some common requests for user queries are made available as simple helpers under -`api.users`, such as `api.users.onlineIDs()` which returns the user IDs of all +`api.users`, such as `api.users.onlineIds()` which returns the user IDs of all online users. Run `ts-node src/utils/users.ts` for a demo of user query outputs. ## MESSAGE OBJECTS @@ -507,7 +507,7 @@ Helper for querying online users Helper for querying online usernames - Returns promise, resolves with array of usernames -### `api.users.onlineIDs()` +### `api.users.onlineIds()` Helper for querying online user IDs - Returns promise, resolves with array of IDs