:^)
This commit is contained in:
parent
538137b24f
commit
79125b0fb3
@ -397,10 +397,8 @@ export default bot => {
|
||||
call: /^\.mock .*/i,
|
||||
set: "uwe",
|
||||
f: e => {
|
||||
e.args.shift();
|
||||
let text = [...e.args.join(" ")];
|
||||
let mock = "";
|
||||
text.forEach(l => mock += (l === " ") ? " " : (Math.round(Math.random()) === 0) ? l.toUpperCase() : l.toLowerCase());
|
||||
[...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