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(Events.INTERACTION_FAILURE, data);
client.emit('interactionResponse', { client.emit('interactionResponse', {
status: false, status: false,
metadata: data, metadata: client._interactionCache.get(data.nonce),
error: 'No response from bot', error: 'No response from bot',
}); });
// Delete cache // Delete cache

View File

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