mrmBot-Matrix/commands/decode.js
2019-09-13 15:02:41 -05:00

6 lines
212 B
JavaScript

exports.run = async (message, args) => {
const b64Decoded = Buffer.from(args.join(" "), "base64").toString("utf-8");
return `\`\`\`\n${b64Decoded}\`\`\``;
};
exports.aliases = ["b64decode", "base64decode"];