fix: return full log
This commit is contained in:
parent
6ef8970a1e
commit
11f7239c7d
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user