discordjs / discord.js

A powerful JavaScript library for interacting with the Discord API
https://discord.js.org
Apache License 2.0
25.45k stars 3.97k forks source link

Bot crashing on reply to interaction #9302

Closed galaxine-senpai closed 1 year ago

galaxine-senpai commented 1 year ago

Which package is this bug report for?

discord.js

Issue description

There are no real steps to doing this, it kinda happens at random.

Code sample

// ...
                interaction.reply({
                    content: "You are blacklisted from using this bot.",
                    ephemeral: true
                })
// ...

Package version

13.14.0

Node.js version

19.3.0

Operating system

Linux (Debian/RaspiOS)

Priority this issue should have

Medium (should be fixed soon)

Which partials do you have configured?

Channel, Message, Reaction

Which gateway intents are you subscribing to?

Guilds, GuildMembers, GuildPresences, GuildMessages, GuildMessageReactions

I have tested this issue on a development release

No response

jaw0r3k commented 1 year ago

Is any error thrown?

galaxine-senpai commented 1 year ago

It throws "this interaction has already been acknowledged" I am going to test something really quick to see if it is an error within my code.