feat(TextChannel): add searchInteraction
This commit is contained in:
@@ -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);
|
||||
|
@@ -23,6 +23,7 @@ module.exports = (client, { d: data }) => {
|
||||
client.emit('interactionResponse', {
|
||||
status: true,
|
||||
metadata: data_,
|
||||
error: '',
|
||||
});
|
||||
// Delete cache
|
||||
// client._interactionCache.delete(data.nonce);
|
||||
|
Reference in New Issue
Block a user