added base64 encryption

pull/101/head
TheCodedProf 3 years ago
parent 4a7c25dd92
commit 7a182d8b87
No known key found for this signature in database
GPG Key ID: 803E7CCB5577E6A2

@ -23,10 +23,9 @@
packages.env = lib.pipe {
src = ./.;
packageJSON = ./package.json;
} [
pnpm2nix.mkPnpmPackage
pnpm2nix.mkPnpmEnv
(pnpm2nix.mkPnpmPackage.${system})
(pnpm2nix.mkPnpmEnv.${system})
];
packages.default = let

File diff suppressed because it is too large Load Diff

@ -113,7 +113,7 @@ export async function callback(client: NucleusClient, oldMessage: Message, newMe
emoji: "MESSAGE.EDIT",
timestamp: newMessage.editedTimestamp,
files: [
new AttachmentBuilder(Buffer.from(JSON.stringify(differences)), {
new AttachmentBuilder(Buffer.from(JSON.stringify(differences), 'base64'), {
name: "diff.json",
description: "A JSON file containing the differences between the two messages."
})

Loading…
Cancel
Save