wtf was that there for?

This commit is contained in:
reality 2018-02-10 12:40:27 +00:00
parent 777d738394
commit 4f269a5c02

4
run.js
View File

@ -128,10 +128,6 @@ DBot.prototype.save = function(cb) {
// Hot-reload module files. // Hot-reload module files.
DBot.prototype.reloadModules = function() { DBot.prototype.reloadModules = function() {
this.save().then(function() {
console.log('test');
});
if(this.modules) { // Run 'onDestroy' code for each module if it exists. if(this.modules) { // Run 'onDestroy' code for each module if it exists.
_.each(this.modules, function(module) { _.each(this.modules, function(module) {
if(module.onDestroy) { if(module.onDestroy) {