mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2025-01-03 13:16:22 -05:00
math fix
This commit is contained in:
parent
26a5323778
commit
98c407bb42
@ -288,7 +288,7 @@ client.on("message", async message => {
|
||||
'<aviadarius> i forgot',
|
||||
'<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…
Reference in New Issue
Block a user