Reload netload on reload command

This commit is contained in:
SileNce5k 2021-03-16 00:18:31 +01:00
parent dd55112b2c
commit 306fb7faab
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -1,3 +1,5 @@
const loadNetModules = require("../util/loadNetModules.js");
module.exports = {
name: 'reload',
description: 'Reloads modules.',
@ -7,7 +9,7 @@ module.exports = {
let reloadCommands = require("../util/reloadCommands.js")
let beforeSize = client.commands.size;
let sendText;
loadNetModules(client)
reloadCommands(client)
if (beforeSize > client.commands.size) {
let difference = beforeSize - client.commands.size;