Paraphrase reload message when removing modules (again)
I do not know how to paraphrase this shit properly so I fucking hope it's good enough now.
This commit is contained in:
parent
a980bde87a
commit
b3e882d6e4
1 changed files with 5 additions and 5 deletions
|
@ -14,17 +14,17 @@ module.exports = {
|
|||
if (beforeSize > client.commands.size) {
|
||||
let difference = beforeSize - client.commands.size;
|
||||
if (difference == 1)
|
||||
sendText = `${difference} module was removed and ${client.commands.size} were reloaded.`
|
||||
sendText = `${client.commands.size} modules were reloaded after ${difference} module was deleted.`
|
||||
else
|
||||
sendText = `${difference} modules were removed and ${client.commands.size} were reloaded.`
|
||||
sendText = `${client.commands.size} modules were reloaded after ${difference} were disabled.`
|
||||
} else if (beforeSize < client.commands.size) {
|
||||
let difference = client.commands.size - beforeSize;
|
||||
if (difference == 1)
|
||||
sendText = `${difference} module was added and ${client.commands.size} in total were reloaded`
|
||||
sendText = `${difference} module was added, and a total of ${client.commands.size} were reloaded.`
|
||||
else
|
||||
sendText = `${difference} modules were added and ${client.commands.size} in total were reloaded`
|
||||
sendText = `${difference} module were added, and a total of ${client.commands.size} were reloaded.`
|
||||
} else if (beforeSize === client.commands.size) {
|
||||
sendText = `${client.commands.size} modules were reloaded`
|
||||
sendText = `${client.commands.size} modules were reloaded.`
|
||||
}
|
||||
message.channel.send(sendText)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue