Fix plural when multiple modules are added

This commit is contained in:
SileNce5k 2021-08-06 19:03:05 +02:00
parent af4c08b220
commit 423a4095bf
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -11,7 +11,7 @@ module.exports = function(beforeSize, client){
if (difference == 1)
sendText = `${difference} module was added, and a total of ${client.commands.size} were reloaded.`
else
sendText = `${difference} module were added, and a total of ${client.commands.size} were reloaded.`
sendText = `${difference} modules were added, and a total of ${client.commands.size} were reloaded.`
} else if (beforeSize === client.commands.size) {
sendText = `${client.commands.size} modules were reloaded.`
}