fix: Additional handling of autocomplete interaction errors

This commit is contained in:
Marius Begby committed 2023-07-25 08:44:36 +02:00
1 parent 412116b4d7
commit 524b4d2f30
2 files changed
+15 -1

No files matched your search

+4
View File
@@ -41,6 +41,10 @@ module.exports = {
value: track.url
}));
if (!interaction.isRepliable() || interaction.responded()) {
return;
}
return interaction.respond(response);
},
execute: async ({ interaction }) => {