Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit aa94598

Browse files
committed
Update knorole.js
1 parent 5acb53c commit aa94598

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

commands/knorole.js

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,13 @@ module.exports.run = async (bot, message, args) => {
2020
}
2121
else{
2222

23-
const ListEmbed = new Discord.MessageEmbed()
24-
.setTitle(`Prune Bot | Users`)
25-
.setDescription(`The bot will kick (`+ memberscount +`) users without a role.`)
26-
.setColor('#b491c8')
27-
.addFields(
28-
{ name: 'Users:', value: message.guild.members.cache.filter(member => member.roles.cache.array().length < 2).map(member => member.user.tag).join('\n') },)
29-
.setFooter('PruneBot is created by Mashwishi', 'https://i.imgur.com/DxWDaGv.png');
30-
message.channel.send(ListEmbed);
31-
23+
//const ListEmbed = new Discord.MessageEmbed()
24+
// .setTitle(`Prune Bot | Users`)
25+
//.setDescription(`The bot will kick (`+ memberscount +`) users without a role.`)
26+
// .setColor('#b491c8')
27+
// .addFields(
28+
// { name: 'Users:', value: message.guild.members.cache.filter(member => member.roles.cache.array().length < 2).map(member => member.user.tag).join('\n') },)
29+
// .setFooter('PruneBot is created by Mashwishi', 'https://i.imgur.com/DxWDaGv.png');
3230
// message.channel.send(ListEmbed);
3331
message.reply('The bot will kick ('+ memberscount +') users without a role.\n'+ 'Confirm with a thumb up or deny with a thumb down.')
3432
message.react('👍').then(r => {

0 commit comments

Comments
 (0)