From d2b3654cb167dbc73d3ae84dffa9f74849ea309c Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Thu, 1 Apr 2021 17:39:10 -0500 Subject: [PATCH] Just log roles --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index f43e510..4eee181 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[0].name); + console.log(roles); } async function aboutServer(message) {