Remove TODO
Not gonna implement reloading a specific module. I don't really see it being worth it as it doesn't take a long time to just reload everything.
This commit is contained in:
parent
0a76c5c9ec
commit
0bfeb8d3b6
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ const fs = require('fs')
|
||||||
const filepath = 'commands/'
|
const filepath = 'commands/'
|
||||||
|
|
||||||
|
|
||||||
module.exports = function (client) { //TODO: Add ability to reload specified commands with arguments
|
module.exports = function (client) {
|
||||||
|
|
||||||
let commandFiles = fs.readdirSync(filepath).filter(file => file.endsWith('.js'));
|
let commandFiles = fs.readdirSync(filepath).filter(file => file.endsWith('.js'));
|
||||||
if (client.commands.size != 0) {
|
if (client.commands.size != 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue