shay
shay
DIAdiscord.js - Imagine an app
Created by shay on 1/3/2024 in #djs-questions
How would I go around making a message embedded while also having buttons?
i checked the website, i'll try it out see if it works
13 replies
DIAdiscord.js - Imagine an app
Created by shay on 1/3/2024 in #djs-questions
How would I go around making a message embedded while also having buttons?
oh
13 replies
DIAdiscord.js - Imagine an app
Created by shay on 1/3/2024 in #djs-questions
How would I go around making a message embedded while also having buttons?
thats what i tried initially but i didn't know how it would work with this
13 replies
DIAdiscord.js - Imagine an app
Created by shay on 1/3/2024 in #djs-questions
How would I go around making a message embedded while also having buttons?
this is the code for anyone else maybe curious
13 replies
DIAdiscord.js - Imagine an app
Created by shay on 1/3/2024 in #djs-questions
How would I go around making a message embedded while also having buttons?
const message = {
color: 0x0099ff,
title: 'Title',
description: 'Description'
};

const response = await interaction.reply({
embeds: [message],
components: [buttonRow],
});
const message = {
color: 0x0099ff,
title: 'Title',
description: 'Description'
};

const response = await interaction.reply({
embeds: [message],
components: [buttonRow],
});
13 replies
DIAdiscord.js - Imagine an app
Created by shay on 1/3/2024 in #djs-questions
How would I go around making a message embedded while also having buttons?
got it
13 replies
DIAdiscord.js - Imagine an app
Created by shay on 1/3/2024 in #djs-questions
How would I go around making a message embedded while also having buttons?
nvm
13 replies
DIAdiscord.js - Imagine an app
Created by shay on 1/3/2024 in #djs-questions
How would I go around making a message embedded while also having buttons?
like this?
const message = new EmbedBuilder().setTitle('Test');

const response = await interaction.reply({
content: message,
components: [buttonRow],
});
const message = new EmbedBuilder().setTitle('Test');

const response = await interaction.reply({
content: message,
components: [buttonRow],
});
13 replies