Flo
Flo
DIAdiscord.js - Imagine an app
Created by Flo on 10/10/2022 in #djs-questions
Get Bot amount in a server
Hey, I wanna get the number of all bots that are in a server. I was using
let bots = Array.from((await guild.members.fetch()).values()).filter(m => m.user.bot).length
let bots = Array.from((await guild.members.fetch()).values()).filter(m => m.user.bot).length
But this doesn't work. Not even dropping an error. Thanks in advance
10 replies