Fix typo in the example code of Getting Started

This commit is contained in:
cabbage63
2023-08-13 11:06:21 +09:00
parent df0fee33af
commit 9bc9d32459

View File

@@ -105,7 +105,6 @@ app.post('/interactions', async function (req, res) {
await res.send({
type: InteractionResponseType.CHANNEL_MESSAGE_WITH_SOURCE,
data: {
// Fetches a random emoji to send from a helper function
content: 'What is your object of choice?',
// Indicates it'll be an ephemeral message
flags: InteractionResponseFlags.EPHEMERAL,