push0
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
i sent you in dm
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
you saw the video?
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
i dont wanna leak it to everyone yk
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
@chewie 🌈 can i send you the video in dms? it contains the root ip of the vps and client id
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
Give me a moment ill hop on pc
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
The channels are right..
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
do you want a video so i can show?
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
When the bot gets the imput of sending the message with that embed it sends it but weirdly deletes it istantly and crashes
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
but its every event with an embed from discord.js
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
cuz i noticed that its not only that event
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
and at that point i have no idea
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
thats the right one :/
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
its another one
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
I changed the channel bro
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
cuz he sends the embed with the error but then istantly gets deleted and crashes
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
I think its the embed that makes the error?...
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
Thats the event
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
Yup it is
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
thats the part of the code
60 replies
DIAdiscord.js - Imagine an app
•Created by push0 on 3/7/2024 in #djs-questions
DiscordAPIError[10008]: Unknown Message
if (message.channel.id === '1026481185297268828') { //stanza media
if (message.attachments.size === 0) {
if (message.author.id === '1137118836970229770' || message.author.id === '701439469265354773')
console.log("Messaggio in media mandato dagli owner");
else {
const embedDesc = ':redexclamation: | Puoi postare solo media in questo canale, non è abilitata la conversazione.';
message.guild.channels.cache.get('1026481185297268828').messages.fetch({ limit: 100 })
.then(messages => {
const messagesToDelete = messages.filter(m => (m.embeds.length > 0 ) && m.embeds[0].description === embedDesc);
console.log(messagesToDelete)
if (!messagesToDelete.size > 0) {
const cannotSend= new EmbedBuilder()
.setTitle('Attenzione')
.setDescription(
message.channel.send({ embeds: [cannotSend], }).then((msg) => { setTimeout(() => { msg.delete(msg); }, 60000); }) } message.delete(message); }) .catch(console.error);
}
} }
:redexclamation: | Puoi postare solo **media** in questo canale, non è abilitata la conversazione.
)
.setColor('#ff1b1b')
.setFooter({ text: 'Herion Community', iconURL: ${message.guild.iconURL()}
});
message.channel.send({ embeds: [cannotSend], }).then((msg) => { setTimeout(() => { msg.delete(msg); }, 60000); }) } message.delete(message); }) .catch(console.error);
}
} }
60 replies