mirror of
https://github.com/1disk/edp445.git
synced 2024-08-14 22:47:02 +00:00
16 lines
337 B
JavaScript
16 lines
337 B
JavaScript
|
module.exports = (msc, author) => {
|
||
|
var detections = [" or "]
|
||
|
|
||
|
var msc2 = msc.replace(/<@1014633027319648277>/g, '')
|
||
|
|
||
|
var arr = msc2.split(" or ")
|
||
|
var choose = Math.floor(Math.random() * 2);
|
||
|
|
||
|
var reply = arr[choose]
|
||
|
var donejson = {
|
||
|
detections:detections,
|
||
|
reply:reply
|
||
|
}
|
||
|
|
||
|
return donejson
|
||
|
}
|