matbe this will work

This commit is contained in:
Alex Brow 2020-02-23 22:12:59 -05:00
parent 98c407bb42
commit e618f14302
No known key found for this signature in database
GPG Key ID: F48926893F475C25
1 changed files with 2 additions and 2 deletions

View File

@ -288,8 +288,8 @@ 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
let number = Math.floor(Math.random() * (max - min) + min)]) //The maximum is exclusive and the minimum is inclusive
return message.channerel.send(quotes[number])
}
});