From f24007741bda24552a4af98fe9c20ff60ef060ae Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Thu, 1 Apr 2021 17:40:05 -0500 Subject: [PATCH] Return number of roles --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 4eee181..b81eae1 100644 --- a/index.js +++ b/index.js @@ -47,7 +47,7 @@ async function usersWithRole(message) { } const roles = message.guild.roles.cache.filter(role => role.name.includes(message.content.split(" ")[1])); console.log(message.content.split(" ")[1]); - console.log(roles); + console.log(roles.size); } async function aboutServer(message) {