From be0f3835683733d21dd11a039a5f18fd48a8e774 Mon Sep 17 00:00:00 2001 From: anandre <38661761+anandre@users.noreply.github.com> Date: Mon, 14 Dec 2020 07:12:36 -0600 Subject: [PATCH] docs(RoleManager): fetch description (#4920) * Update fetch description The `fetch` method does not support fetching multiple IDs, so the description is currently inaccurate. * Update src/managers/RoleManager.js Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com> Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com> Co-authored-by: Noel --- src/managers/RoleManager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/managers/RoleManager.js b/src/managers/RoleManager.js index 0dfbefb03..9774674cf 100644 --- a/src/managers/RoleManager.js +++ b/src/managers/RoleManager.js @@ -31,8 +31,8 @@ class RoleManager extends BaseManager { } /** - * Obtains one or more roles from Discord, or the role cache if they're already available. - * @param {Snowflake} [id] ID of the role to fetch + * Obtains a role from Discord, or the role cache if they're already available. + * @param {Snowflake} [id] ID of the role * @param {boolean} [cache=true] Whether to cache the new role object(s) if they weren't already * @param {boolean} [force=false] Whether to skip the cache check and request the API * @returns {Promise>}