Kryp Arnold
Kryp Arnold
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/27/2023 in #djs-questions
weird UnknownInteractionError
<3
17 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/27/2023 in #djs-questions
weird UnknownInteractionError
anything you wanna say?
17 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/27/2023 in #djs-questions
weird UnknownInteractionError
thank you so much man
17 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/27/2023 in #djs-questions
weird UnknownInteractionError
oh i read the guide, thanks
17 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/27/2023 in #djs-questions
weird UnknownInteractionError
what defer does actually?
17 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/27/2023 in #djs-questions
weird UnknownInteractionError
oh it must be the database call then
17 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/27/2023 in #djs-questions
weird UnknownInteractionError
i've tried so many runs, but it just happens randomly
17 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/27/2023 in #djs-questions
weird UnknownInteractionError
its so confusing
17 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/25/2023 in #djs-questions
Is it possible to save hidden data in embed?
13 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/25/2023 in #djs-questions
Is it possible to save hidden data in embed?
oh thank you so much
13 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/25/2023 in #djs-questions
Is it possible to save hidden data in embed?
oh, i got it, i'll send the embed and then i'll wait for the button interaction right?
13 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/25/2023 in #djs-questions
Is it possible to save hidden data in embed?
im thinking a way, i can store the id thing in my customId, is it a good way?
13 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/25/2023 in #djs-questions
Is it possible to save hidden data in embed?
here is my button's execute function
13 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/25/2023 in #djs-questions
Is it possible to save hidden data in embed?
async execute(interaction: ButtonInteraction){
console.log(interaction.message.embeds[0]); // I need to extract hidden data here.
}
async execute(interaction: ButtonInteraction){
console.log(interaction.message.embeds[0]); // I need to extract hidden data here.
}
13 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/25/2023 in #djs-questions
Is it possible to save hidden data in embed?
here is my command's execute function
13 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 12/25/2023 in #djs-questions
Is it possible to save hidden data in embed?
async execute(interaction: ChatInputCommandInteraction) {
const embed = new EmbedBuilder()
.setTitle("#" + (interaction.channel as TextChannel).name)
.setColor(Colors.DarkGreen);

const setupButton = new ButtonBuilder()
.setCustomId("word-game-setup")
.setLabel(localizations[interaction.locale === Locale.Turkish ? "tr" : "en"].buttons.setup)
.setStyle(ButtonStyle.Primary);

const buttonRow = new ActionRowBuilder()
.addComponents(setupButton);

await interaction.reply({
embeds: [embed],
//@ts-ignore
components: [buttonRow],
ephemeral: true
});
},
async execute(interaction: ChatInputCommandInteraction) {
const embed = new EmbedBuilder()
.setTitle("#" + (interaction.channel as TextChannel).name)
.setColor(Colors.DarkGreen);

const setupButton = new ButtonBuilder()
.setCustomId("word-game-setup")
.setLabel(localizations[interaction.locale === Locale.Turkish ? "tr" : "en"].buttons.setup)
.setStyle(ButtonStyle.Primary);

const buttonRow = new ActionRowBuilder()
.addComponents(setupButton);

await interaction.reply({
embeds: [embed],
//@ts-ignore
components: [buttonRow],
ephemeral: true
});
},
13 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 2/4/2023 in #djs-questions
Connection Timeout Error
<3
12 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 2/4/2023 in #djs-questions
Connection Timeout Error
shortly its just a bad network situation
12 replies
DIAdiscord.js - Imagine an app
Created by Kryp Arnold on 2/4/2023 in #djs-questions
Connection Timeout Error
it was because of my hosting like i said, i just changed my hosting and it works perfectly
12 replies