import { execFileSync as exec_file_sync } from 'child_process';
export default (homescope: HomeScope) => {
	let { message, args } = homescope;
	if (args.length === 0)
		args = ['-f', 'Train', 'Simp'];
	// This is safe because no shell is spawned:
	message.reply(exec_file_sync('./node_modules/.bin/figlet', args, {
		encoding: 'utf8',
		cwd: process.cwd()
	}).format('```'));
};