mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-11 03:14:35 +02:00
Caps first letter
This commit is contained in:
@@ -23,7 +23,8 @@ module.exports = class OrganizationXIIINameCommand extends Command {
|
|||||||
run(msg, args) {
|
run(msg, args) {
|
||||||
const { text } = args;
|
const { text } = args;
|
||||||
text.push('x');
|
text.push('x');
|
||||||
const converted = shuffle(text).join('');
|
const converted = shuffle(text);
|
||||||
return msg.say(`\u180E${converted}`);
|
converted[0] = converted[0].toUpperCase();
|
||||||
|
return msg.say(`\u180E${converted.join('')}`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user