Help for netmodules with netmodules not netload
Before you had to type <prefix>help netload to get information about netmodules, but now it is netmodules to not conflict with a command with the same name.
This commit is contained in:
parent
1cddfbbde4
commit
a2b8660735
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ module.exports = {
|
||||||
var commands = " "
|
var commands = " "
|
||||||
let commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js'));
|
let commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js'));
|
||||||
let x = 0
|
let x = 0
|
||||||
if (args[0] == "netload") {
|
if (args[0] == "netmodules") {
|
||||||
commandFiles = fs.readdirSync('./netload').filter(file => file.endsWith('.js'));
|
commandFiles = fs.readdirSync('./netload').filter(file => file.endsWith('.js'));
|
||||||
if (commandFiles.length == 0) {
|
if (commandFiles.length == 0) {
|
||||||
message.channel.send("There are no netmodules currently loaded.")
|
message.channel.send("There are no netmodules currently loaded.")
|
||||||
|
|
Loading…
Add table
Reference in a new issue