mirror of
https://github.com/PretendoNetwork/Yamamura.git
synced 2024-05-31 19:17:50 -04:00
fixed interaction not being replied to
This commit is contained in:
parent
26729f0718
commit
4d58c3e071
|
@ -32,7 +32,7 @@ async function interactionCreateHander(interaction) {
|
|||
};
|
||||
|
||||
try {
|
||||
if (interaction.replied) {
|
||||
if (interaction.replied || interaction.deferred) {
|
||||
await interaction.editReply(payload);
|
||||
} else {
|
||||
await interaction.reply(payload);
|
||||
|
|
Loading…
Reference in a new issue