fix: return full log

This commit is contained in:
March 7th 2022-12-13 15:32:05 +07:00
parent 6ef8970a1e
commit 11f7239c7d
2 changed files with 2 additions and 2 deletions

View File

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

View File

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