Caps first letter

This commit is contained in:
Daniel Odendahl Jr
2017-08-15 22:22:53 +00:00
parent 25baef55e4
commit df12a04489
+3 -2
View File
@@ -23,7 +23,8 @@ module.exports = class OrganizationXIIINameCommand extends Command {
run(msg, args) {
const { text } = args;
text.push('x');
const converted = shuffle(text).join('');
return msg.say(`\u180E${converted}`);
const converted = shuffle(text);
converted[0] = converted[0].toUpperCase();
return msg.say(`\u180E${converted.join('')}`);
}
};