buape / carbon

A fully-featured HTTP library for Discord bots
https://carbon.buape.com/
MIT License
12 stars 6 forks source link

allowedMentions doesnt work #202

Closed Xanderxx46 closed 1 month ago

Xanderxx46 commented 1 month ago
async run(interaction: CommandInteraction) {
    await interaction.reply({content: "<@829909201262084096>", allowedMentions: { parse: [] }})
}

doesnt work, even though according to discord API it should work.

it also gives me an error when parse is given an empty object [], Type '[]' is not assignable to type '["roles", "users", "everyone"]'. Source has 0 element(s) but target requires 3, which even then doesnt work.

Screenshot from 2024-10-27 13-44-42 Screenshot from 2024-10-27 13-14-17

It shouldnt do the actual pinging part, but it does.