79620267

Date: 2025-05-13 19:01:00
Score: 0.5
Natty:
Report link

I realized that I was doing:

import { InteractionResponseType } from 'discord-interactions';

and not:

import { InteractionResponseType } from 'discord-api-types/v10';

So when I did DAPI.InteractionResponseType, it uses the enum in discord-api-types, but without the DAPI., it uses the discord-interactions one, which apparently is not compatible.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rusty