Files
NitoriBot/util/between.js
T

8 lines
127 B
JavaScript
Raw Permalink Normal View History

2024-02-13 17:11:00 +00:00
function between (min, max) {
return Math.floor(
Math.random() * (max - min) + min
)
}
module.exports = between