1
0
Fork 0
mirror of https://github.com/1disk/edp445.git synced 2024-08-14 22:47:02 +00:00
edp445/functions/detections/or.js
2022-11-26 15:27:07 +01:00

16 lines
No EOL
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
}