fix dm room name

This commit is contained in:
Peter Maquiran
2022-01-13 11:43:36 +01:00
parent ffcde98967
commit cf98e99531
4 changed files with 19 additions and 3 deletions
+7
View File
@@ -0,0 +1,7 @@
function capitalizeTxt(txt) {
return txt.charAt(0).toUpperCase() + txt.slice(1); //or if you want lowercase the rest txt.slice(1).toLowerCase();
}
module.exports = {
capitalizeTxt: capitalizeTxt
}