7 lines
203 B
JavaScript
7 lines
203 B
JavaScript
exports.run = async (message, args) => {
|
|
const b64Encoded = Buffer.from(args.join(" ")).toString("base64");
|
|
return `\`\`\`\n${b64Encoded}\`\`\``;
|
|
};
|
|
|
|
exports.aliases = ["b64encode", "base64encode"];
|