Sevlow
Sevlow
DIAdiscord.js - Imagine an app
Created by Sevlow on 10/21/2023 in #djs-questions
Problem with counting members with catch
okay, it worked, thank you!
25 replies
DIAdiscord.js - Imagine an app
Created by Sevlow on 10/21/2023 in #djs-questions
Problem with counting members with catch
k
25 replies
DIAdiscord.js - Imagine an app
Created by Sevlow on 10/21/2023 in #djs-questions
Problem with counting members with catch
yup...
25 replies
DIAdiscord.js - Imagine an app
Created by Sevlow on 10/21/2023 in #djs-questions
Problem with counting members with catch
and it still shows one
25 replies
DIAdiscord.js - Imagine an app
Created by Sevlow on 10/21/2023 in #djs-questions
Problem with counting members with catch
still, two bot members are offline
25 replies
DIAdiscord.js - Imagine an app
Created by Sevlow on 10/21/2023 in #djs-questions
Problem with counting members with catch
I believe I have the GuildMembers intent
25 replies
DIAdiscord.js - Imagine an app
Created by Sevlow on 10/21/2023 in #djs-questions
Problem with counting members with catch
okay
25 replies
DIAdiscord.js - Imagine an app
Created by Sevlow on 10/21/2023 in #djs-questions
Problem with counting members with catch
There is two bots online, me online and two bots offline
25 replies
DIAdiscord.js - Imagine an app
Created by Sevlow on 10/21/2023 in #djs-questions
Problem with counting members with catch
No description
25 replies
DIAdiscord.js - Imagine an app
Created by Sevlow on 10/21/2023 in #djs-questions
Problem with counting members with catch
const { EmbedBuilder } = require("../../../node_modules/discord.js")
let own = client.users.cache.get(g.ownerId)
let embd = new EmbedBuilder().setTitle("Member count").setColor("Random").setFooter({text: `Used by ${msg.author.tag} | ${msg.author.id}!`, iconURL: msg.author.avatarURL()})
.setThumbnail(g.iconURL()).setDescription(
`
Members: ${g.memberCount}
• Bots: ${g.members.cache.filter(m => m.user.bot).size}
• Humans: ${g.members.cache.filter(m => !m.user.bot).size}`
)
msg.channel.send({embeds:[embd]})
const { EmbedBuilder } = require("../../../node_modules/discord.js")
let own = client.users.cache.get(g.ownerId)
let embd = new EmbedBuilder().setTitle("Member count").setColor("Random").setFooter({text: `Used by ${msg.author.tag} | ${msg.author.id}!`, iconURL: msg.author.avatarURL()})
.setThumbnail(g.iconURL()).setDescription(
`
Members: ${g.memberCount}
• Bots: ${g.members.cache.filter(m => m.user.bot).size}
• Humans: ${g.members.cache.filter(m => !m.user.bot).size}`
)
msg.channel.send({embeds:[embd]})
25 replies
DIAdiscord.js - Imagine an app
Created by Sevlow on 10/21/2023 in #djs-questions
Problem with counting members with catch
In an embed
25 replies