From 4fdcde90aaeaca23921cfb293965c4ea4b776d3e Mon Sep 17 00:00:00 2001 From: Kieran Date: Tue, 30 Aug 2022 14:54:57 +0100 Subject: [PATCH] Add placeholder to embds --- events/interactionCreate.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/events/interactionCreate.js b/events/interactionCreate.js index 860a88e..89d228f 100644 --- a/events/interactionCreate.js +++ b/events/interactionCreate.js @@ -63,10 +63,12 @@ client.on("interactionCreate", async (interaction) => { .setLabel("Student Name") .setStyle("SHORT") .setCustomId("studentname") + .setPlaceholder(`Joe Bloggs`) const studentnumber = new discord.TextInputComponent() .setLabel("Student Number") .setStyle("SHORT") .setCustomId("studentnumber") + .setPlaceholder(`202001234`) const firstActionRow = new discord.MessageActionRow().addComponents(studentname); const secondActionRow = new discord.MessageActionRow().addComponents(studentnumber); modal.addComponents(firstActionRow, secondActionRow);