Skip to content

Commit

Permalink
test: Interactions id
Browse files Browse the repository at this point in the history
  • Loading branch information
shoushou1106 committed Dec 21, 2024
1 parent 2562923 commit 654b186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ router.post('/', async (request, env: Env) => {

// Send an initial response to answer the command
const initialResponse = await fetch(
`https://discord.com/api/v10/interactions/${env.DISCORD_APPLICATION_ID}/${interaction.token}/callback`,
`https://discord.com/api/v10/interactions/${interaction.id}/${interaction.token}/callback`,
{
method: "POST",
headers: {
Expand Down

0 comments on commit 654b186

Please sign in to comment.