mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
fix: Additional handling of autocomplete interaction errors
This commit is contained in:
1 parent
412116b4d7
commit
524b4d2f30
2 files changed
+15
-1
No files matched your search
@@ -41,6 +41,10 @@ module.exports = {
|
||||
value: track.url
|
||||
}));
|
||||
|
||||
if (!interaction.isRepliable() || interaction.responded()) {
|
||||
return;
|
||||
}
|
||||
|
||||
return interaction.respond(response);
|
||||
},
|
||||
execute: async ({ interaction }) => {
|
||||
|
||||
Reference in new issue
Block a user