refactoring Talents Command. Refactoring Capitalization

This commit is contained in:
2021-04-18 15:53:08 +02:00
parent 789a8b73e2
commit ff7f1b12a2
3 changed files with 26 additions and 17 deletions

5
functions/Capitalize.js Normal file
View File

@ -0,0 +1,5 @@
const Capitalize = (Word = 'none') => {
return Word[0].toUpperCase() + Word.substring(1);
};
module.exports = { Capitalize };