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(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
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user