Merge pull request #29 from cabbage63/fix-getting-started

Fix typo in the example code of Getting Started
This commit is contained in:
Ian Mitchell
2023-08-17 10:31:05 -07:00
committed by GitHub

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,