Skip to content

Commit

Permalink
🐛 Right number of members in serverinfo command
Browse files Browse the repository at this point in the history
Closes #392
  • Loading branch information
Androz2091 committed Feb 7, 2021
1 parent 79852bc commit a08011d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/General/serverinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Serverinfo extends Command {
}
}

guild = await guild.fetch();
guild = await guild.members.fetch();

const embed = new Discord.MessageEmbed()
.setAuthor(guild.name, guild.iconURL({ dynamic: true }))
Expand Down

0 comments on commit a08011d

Please sign in to comment.