From b3d082fef24c2c91a8755830bdc72ddb1ccc4435 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 6 Mar 2020 17:52:05 -0500 Subject: [PATCH] Forgot "this" --- commands/util/restart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/util/restart.js b/commands/util/restart.js index 3e90c8b5..4404c6c2 100644 --- a/commands/util/restart.js +++ b/commands/util/restart.js @@ -23,7 +23,7 @@ module.exports = class RestartCommand extends Command { } run(msg, { code }) { - client.logger.info('[RESTART] Manually restarted.'); + this.client.logger.info('[RESTART] Manually restarted.'); process.exit(code); return null; }