prompt
This commit is contained in:
parent
1206eb9190
commit
ce28ba511e
9 changed files with 88 additions and 20 deletions
|
|
@ -20,7 +20,7 @@ module.exports = {
|
|||
files: [
|
||||
new AttachmentBuilder()
|
||||
.setName(interaction.targetMessage.id + ".json")
|
||||
.setFile(Buffer.from(JSON.stringify(interaction.targetMessage, null, 4), "utf-8"))
|
||||
.setFile(Buffer.from(JSON.stringify(interaction.targetMessage.toJSON(), null, 4), "utf-8"))
|
||||
],
|
||||
ephemeral: true
|
||||
});
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ module.exports = {
|
|||
files: [
|
||||
new AttachmentBuilder()
|
||||
.setName(interaction.targetUser.id + ".json")
|
||||
.setFile(Buffer.from(JSON.stringify(interaction.targetUser, null, 4), "utf-8"))
|
||||
.setFile(Buffer.from(JSON.stringify(interaction.targetUser.toJSON(), null, 4), "utf-8"))
|
||||
],
|
||||
ephemeral: true
|
||||
});
|
||||
|
|
|
|||
Reference in a new issue