Remove the rest of netmodule references
All checks were successful
CI / CI (push) Successful in 16s

This commit is contained in:
SileNce5k 2024-11-01 19:59:27 +01:00
parent cddceda3c5
commit cc149768c1
Signed by: SileNce
GPG key ID: B0A142BB4291B204
3 changed files with 1 additions and 7 deletions

View file

@ -1,5 +1,4 @@
const calculateReloaded = require("../../util/calculateReloaded.js");
const reloadNetModules = require("../../util/reloadNetModules.js");
module.exports = {
name: 'reload',
@ -9,7 +8,6 @@ module.exports = {
let reloadCommands = require("../../util/reloadCommands.js")
let beforeSize = client.commands.size;
reloadNetModules(client)
reloadCommands(client)
let sendText = calculateReloaded(beforeSize, client)
message.channel.send(sendText)

View file

@ -8,8 +8,7 @@ module.exports = {
description: 'List all available commands.',
moreHelp: ["Examples:","`<prefix>help [optional_page]` will return help with a small description for each command",
"`<prefix>help <another_command>` will return help with a more descriptive description",
"The descriptive description isn't available on all commands",
"`<prefix>help netmodules` to display help for netmodules"
"The descriptive description isn't available on all commands"
],
execute({ message, args, prefix, client }) {
let commands = ""

View file

@ -41,19 +41,16 @@ const {
client.settings = new Collection();
client.commands = new Collection();
client.serverPrefixes = new Collection();
client.netmodules = new Collection();
client.settings.set("presenceType", presenceType);
client.settings.set("presenceText", presenceText);
const reloadCommands = require("./util/reloadCommands.js");
const reloadNetModules = require('./util/reloadNetModules');
const onMessage = require('./server/message');
const onReady = require('./server/ready');
reloadCommands(client)
reloadNetModules(client)
client.once('ready', () => {
onReady(client, enableLoginMessage, loginChannel, loginMessage)