Nelvazz
Nelvazz
DIAdiscord.js - Imagine an app
Created by Nelvazz on 11/24/2023 in #djs-questions
Images in slash commands
Is it possible to put images when sending a slash command ?
20 replies
DIAdiscord.js - Imagine an app
Created by Nelvazz on 2/19/2023 in #djs-questions
Tags in Webhook forum post
How can i add a tag to a post created by a webhook ? I tried to use the appliedTags parameter but it didn't work... It doesn't return any error,
webhookUser.send({ content: 'A very cool message !', threadName: 'Title', appliedTags: ['000000000000000000'] })
webhookUser.send({ content: 'A very cool message !', threadName: 'Title', appliedTags: ['000000000000000000'] })
4 replies
DIAdiscord.js - Imagine an app
Created by Nelvazz on 1/13/2023 in #djs-questions
Filter for Message Collector is not working
I'm trying to collect messages that contains at least one attachments, the problem is that the collector return every messages sent even if they have attachments or not ._.
const filterMessage = (msg) => msg.author.id == message.author.id && msg.attachments.size >= 1;
const collectorMessage = message.channel.createMessageCollector({ filterMessage, time: 350000 });

collectorMessage.on('collect', async (msg) => {
console.log('This message contain an image !')
})
const filterMessage = (msg) => msg.author.id == message.author.id && msg.attachments.size >= 1;
const collectorMessage = message.channel.createMessageCollector({ filterMessage, time: 350000 });

collectorMessage.on('collect', async (msg) => {
console.log('This message contain an image !')
})
7 replies
DIAdiscord.js - Imagine an app
Created by Nelvazz on 1/7/2023 in #djs-questions
Set image to spoiler in embeds
I was wondering if there is any possible way to put an image to spoiler in the .setImage() parameter of embeds ?
10 replies
DIAdiscord.js - Imagine an app
Created by Nelvazz on 10/16/2022 in #djs-questions
Shards Interaction
Hello ! I have some troubles with sharding specifically with interactions between shards, i wonder if it's possible to send a message with buttons to a server present on an other shard and then get the interaction response ? I know .broadcastEval() exist but the data are serialized so it's not really the solution... discord.js version : 13.7.0 node version : 16.14.2
4 replies