löler
This commit is contained in:
parent
e33e5cffc8
commit
56d4bb048f
|
@ -380,9 +380,7 @@ export default bot => {
|
||||||
call: /^\.mock .*/i,
|
call: /^\.mock .*/i,
|
||||||
set: "uwe",
|
set: "uwe",
|
||||||
f: e => {
|
f: e => {
|
||||||
let mock = "";
|
e.reply([...e.args.join(" ")].map(l => (l === " ") ? " " : (Math.round(Math.random()) === 0) ? l.toUpperCase() : l.toLowerCase()).join``);
|
||||||
[...e.args.join(" ")].forEach(l => mock += (l === " ") ? " " : (Math.round(Math.random()) === 0) ? l.toUpperCase() : l.toLowerCase());
|
|
||||||
e.reply(mock);
|
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user