2019-09-13 20:02:41 +00:00
|
|
|
exports.run = async (message, args) => {
|
|
|
|
const b64Encoded = Buffer.from(args.join(" ")).toString("base64");
|
|
|
|
return `\`\`\`\n${b64Encoded}\`\`\``;
|
|
|
|
};
|
|
|
|
|
|
|
|
exports.aliases = ["b64encode", "base64encode"];
|
2019-12-02 20:47:22 +00:00
|
|
|
exports.category = 1;
|
|
|
|
exports.help = "Encodes a Base64 string";
|