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.