mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
Лишнее console.log
This commit is contained in:
parent
b3596dd64f
commit
337a3f1efb
1 changed files with 0 additions and 1 deletions
|
@ -20,7 +20,6 @@ class Staff extends Command {
|
|||
async run(message, args, data) {
|
||||
await message.guild.members.fetch();
|
||||
const administrators = message.guild.members.cache.filter((m) => m.permissions.has(Discord.Permissions.FLAGS.ADMINISTRATOR) && !m.user.bot);
|
||||
console.log(administrators[0])
|
||||
const moderators = message.guild.members.cache.filter((m) => !administrators.has(m.id) && m.permissions.has(Discord.Permissions.FLAGS.MANAGE_MESSAGES) && !m.user.bot);
|
||||
const embed = new Discord.MessageEmbed()
|
||||
.setAuthor({
|
||||
|
|
Loading…
Reference in a new issue