utility.guildinfo: fix online count
This commit is contained in:
parent
74ee9c15f9
commit
3abaf21585
1 changed files with 1 additions and 1 deletions
|
@ -1967,7 +1967,7 @@ guildinfo.callback = async function (msg, line) {
|
|||
|
||||
const members = Array.from(guild.members.values());
|
||||
const online = members.filter(
|
||||
(member) => member.status != "offline"
|
||||
(member) => member.status != null && member.status != "offline"
|
||||
).length;
|
||||
const bots = members.filter((member) => member.bot).length;
|
||||
const verfifiedBots = members.filter(
|
||||
|
|
Loading…
Reference in a new issue