Browse Source

Just log roles

master
Abheek Dhawan 4 years ago
parent
commit
d2b3654cb1
  1. 2
      index.js

2
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])); const roles = message.guild.roles.cache.filter(role => role.name.includes(message.content.split(" ")[1]));
console.log(message.content.split(" ")[1]); console.log(message.content.split(" ")[1]);
console.log(roles[0].name); console.log(roles);
} }
async function aboutServer(message) { async function aboutServer(message) {

Loading…
Cancel
Save