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