try 0 instead of null for ack
This commit is contained in:
parent
1d44bac7ae
commit
9e210768fa
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ async function runCommand(interaction, command) {
|
||||||
async function InteractionDispatcher(interaction) {
|
async function InteractionDispatcher(interaction) {
|
||||||
const command = hf.interactionCommands.get(interaction.data.name);
|
const command = hf.interactionCommands.get(interaction.data.name);
|
||||||
const shouldSend = getOption(interaction, command, "send");
|
const shouldSend = getOption(interaction, command, "send");
|
||||||
interaction.acknowledge(shouldSend ? null : MessageFlags.EPHEMERAL);
|
interaction.acknowledge(shouldSend ? 0 : MessageFlags.EPHEMERAL);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await runCommand(interaction, command);
|
const response = await runCommand(interaction, command);
|
||||||
|
|
Loading…
Reference in a new issue