mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Forgot "this"
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user