feat(TextChannel): add searchInteraction

This commit is contained in:
March 7th
2022-10-30 19:25:32 +07:00
parent 91ae4195a6
commit a6459f2c14
12 changed files with 75 additions and 105 deletions

View File

@@ -11,6 +11,7 @@ module.exports = (client, { d: data }) => {
client.emit('interactionResponse', {
status: false,
metadata: data,
error: 'No response from bot',
});
// Delete cache
client._interactionCache.delete(data.nonce);

View File

@@ -23,6 +23,7 @@ module.exports = (client, { d: data }) => {
client.emit('interactionResponse', {
status: true,
metadata: data_,
error: '',
});
// Delete cache
// client._interactionCache.delete(data.nonce);