Kryp Arnold
Kryp Arnold
Explore posts from servers
DTDrizzle Team
Created by Kryp Arnold on 6/24/2024 in #help
How to select with references
const allUsers = await prisma.user.findMany({
include: {
posts: true
}
});
const allUsers = await prisma.user.findMany({
include: {
posts: true
}
});
2 replies
KPCKevin Powell - Community
Created by Kryp Arnold on 5/12/2024 in #front-end
Can't horizontal scroll
i just gave up on that design it was not practical but thanks though
4 replies
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
KPCKevin Powell - Community
Created by arifozturk on 10/29/2023 in #back-end
c#
i believe you can
2 replies