vizzielli
vizzielli
DIAdiscord.js - Imagine an app
Created by vizzielli on 3/19/2024 in #djs-questions
14.14.1 get deleted thread infos
Hi, I have this:
const { ChannelType, Thread } = require('discord.js');
module.exports = {
event: 'threadDelete',
run: async (client, thread) => {
log(thread);
},
};
const { ChannelType, Thread } = require('discord.js');
module.exports = {
event: 'threadDelete',
run: async (client, thread) => {
log(thread);
},
};
return the deleted thread id. There's a way to get some infos like: - who deleted it (member object?) - some thread info (at least the title and message count?) Thank you!
5 replies
DIAdiscord.js - Imagine an app
Created by vizzielli on 2/27/2024 in #djs-questions
Wrong guild.memberCount?
Hi, There's any reason why in a 9k users server this, sometimes, return a completely wrong user count?
// discord.js ^14.14.1
module.exports = {
event: 'guildMemberAdd',
run: async (client, member) => {
console.log('member.guild.memberCount);
// discord.js ^14.14.1
module.exports = {
event: 'guildMemberAdd',
run: async (client, member) => {
console.log('member.guild.memberCount);
I mean: it used to work fine for many months, but in last 2 days it started, sometimes, to return values like 1534 or similar ones, instead of 8-9k+. There's any known bug?
13 replies
DIAdiscord.js - Imagine an app
Created by vizzielli on 2/21/2024 in #djs-questions
Info about guildMembersAdd
A clarification: why if I track who join the server with guildMemberAdd, I get different logs than the discord user joins message (the one available in the server settings)? Thanks
3 replies
DIAdiscord.js - Imagine an app
Created by vizzielli on 11/4/2022 in #djs-questions
Let bot join forum threads
Hi! Got some day ago that the bot i made for a community start not to consider messages inside the new discord forums. It give some facilities to publish posts and act considering the users messages. Theres a way to push the bot inside all threads? Thank you!
12 replies