Reload netload on reload command
This commit is contained in:
parent
dd55112b2c
commit
306fb7faab
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
const loadNetModules = require("../util/loadNetModules.js");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'reload',
|
name: 'reload',
|
||||||
description: 'Reloads modules.',
|
description: 'Reloads modules.',
|
||||||
|
@ -7,7 +9,7 @@ module.exports = {
|
||||||
let reloadCommands = require("../util/reloadCommands.js")
|
let reloadCommands = require("../util/reloadCommands.js")
|
||||||
let beforeSize = client.commands.size;
|
let beforeSize = client.commands.size;
|
||||||
let sendText;
|
let sendText;
|
||||||
|
loadNetModules(client)
|
||||||
reloadCommands(client)
|
reloadCommands(client)
|
||||||
if (beforeSize > client.commands.size) {
|
if (beforeSize > client.commands.size) {
|
||||||
let difference = beforeSize - client.commands.size;
|
let difference = beforeSize - client.commands.size;
|
||||||
|
|
Loading…
Add table
Reference in a new issue