Adren
Adren
DIAdiscord.js - Imagine an app
Created by Adren on 9/2/2023 in #djs-questions
guildLeave fires on bot restart
Hi all, when I restart my bot the guildLeave event fires several times always reporting the same ids of some servers (which seem to not have the bot for a long time but I'm not sure) I'm using discord-hybrid-sharding with currently 7 active shards
3 replies
DIAdiscord.js - Imagine an app
Created by Adren on 5/17/2023 in #djs-questions
Pause/unpause all invites link via d.js
How to?
3 replies
DIAdiscord.js - Imagine an app
Created by Adren on 4/30/2023 in #djs-questions
message.webhookId issue
message.webhookId holds a value even if no message is sent via webhook on the server..how is this possible?
6 replies
DIAdiscord.js - Imagine an app
Created by Adren on 4/29/2023 in #djs-questions
AuditLogEntry.executor is null
Why AuditLogEntry.executor is null when my bot delete a webhook?
4 replies
DIAdiscord.js - Imagine an app
Created by Adren on 3/30/2023 in #djs-questions
TypeError: channel.isText is not a function
Hello, when I click on a button i'm getting this error "TypeError: channel.isText is not a function" not from my code but directly from discord.js lib @ node_modules/discord.js/src/client/actions/InteractionCreate.js:51:33 d.js version 13.12.0 Anyone can help?
8 replies
DIAdiscord.js - Imagine an app
Created by Adren on 3/12/2023 in #djs-questions
roleUpdate multiple fires
When I change the permissions/name/color of a newly created role in the server the roleUpdate event fires multiple times cycling all the roles present in the server or above it.. how to avoid this and why does it happen?
6 replies
DIAdiscord.js - Imagine an app
Created by Adren on 2/26/2023 in #djs-questions
How to defer an interaction.update?
Hi, i've a command respond with a simple interaction.reply and then using the attached select menu there is a further interaction with an interaction.update I can't make this interaction.update a deferred update (showing message Bot is working...) I need some help, thanks in advance <:wumpus_love:815963419559329874>
11 replies
DIAdiscord.js - Imagine an app
Created by Adren on 2/17/2023 in #djs-questions
No console log and no errors...anyone can help?
client.guilds.cache.forEach(async (guild) => {
let voiceChannels = guild.channels.cache.filter(channel => channel.type === 'voice');

voiceChannels.forEach(channel => {
console.log(channel)
});
})
client.guilds.cache.forEach(async (guild) => {
let voiceChannels = guild.channels.cache.filter(channel => channel.type === 'voice');

voiceChannels.forEach(channel => {
console.log(channel)
});
})
4 replies
DIAdiscord.js - Imagine an app
Created by Adren on 2/13/2023 in #djs-questions
interaction.update break emojis
Hello all discord devs <:wumpus_love:815963419559329874> I'm using custom emojis in an embed, no problem on the server where the aforementioned emojis were uploaded but the same embed used in other servers doesn't display the emojis when I update the embed content via "interaction.update" Very strange and I don't understand.. I hope you can help me
7 replies