This commit is contained in:
Flummi 2018-07-07 18:51:56 +02:00
parent 1e6ea294ff
commit 538137b24f

View File

@ -398,7 +398,7 @@ export default bot => {
set: "uwe",
f: e => {
e.args.shift();
let text = e.args.join(" ");
let text = [...e.args.join(" ")];
let mock = "";
text.forEach(l => mock += (l === " ") ? " " : (Math.round(Math.random()) === 0) ? l.toUpperCase() : l.toLowerCase());
e.reply(mock);