Sending

Use these functions with message functions?

Change interaction to message. For example: interaction.send("Hello!"); then becomes message.send("Hello!");

Send content

interaction.send("Hello!");

Private reply

interaction.privateReply("Hello!");

Send embeds

const embed = interaction.embedSuccess("This is a first success embed!");
const embed2 = interaction.embedSuccess("This is a second success embed!");

interaction.embeds(embed, embed2);

Send components

const embed = interaction.embedSuccess("This is a success embed!");
const button = interaction.buttonDanger("Danger", "Danger");

const row = interaction.row(button);

interaction.channel.send({ embeds: [embed], components: [row] });

Last updated