mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2025-07-26 11:34:15 -04:00
math fix
This commit is contained in:
parent
26a5323778
commit
98c407bb42
@ -288,7 +288,7 @@ client.on("message", async message => {
|
|||||||
'<aviadarius> i forgot',
|
'<aviadarius> i forgot',
|
||||||
'<N29UB> Asia is a continent'
|
'<N29UB> Asia is a continent'
|
||||||
]
|
]
|
||||||
return message.channerel.send(quotes[Math.floor(Math.random() * (max - min)) + min)]) //The maximum is exclusive and the minimum is inclusive
|
return message.channerel.send(quotes[Math.floor(Math.random() * (max - min) + min)]) //The maximum is exclusive and the minimum is inclusive
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user