const exec = Promise.promisify(require("child_process").exec);
module.exports = {
	process: async message => {
		try {
			let stdout = await exec(message.args[0]);
			return bot.utils.codeBlock(stdout.substring(0, 1950));
		} catch(err) {
			return `Error executing command: ${bot.utils.codeBlock(err)}`;
		}
	},
	caseSensitive: true,
	description: "Execute code",
	args: [{
		type: "text",
		label: "command"
	}]
};

@@ -154,16 +154,45 @@
 .args%5B0%5D
+, %5B%5D, %7B maxBuffer: Infinity %7D
 );%0A%09%09%09re

fix exec max buffer