This commit is contained in:
murm 2023-03-15 10:50:25 -04:00
parent c8f6f33481
commit 69f3f34bde

View file

@ -11,7 +11,7 @@ class ReloadCommand extends Command {
await this.acknowledge();
const path = paths.get(commandName);
if (!path) return "I couldn't find that command!";
const result = await load(this.matrixClient, path, true);
const result = await load(this.client, path, true);
if (result !== commandName) return "I couldn't reload that command!";
if (process.env.PM2_USAGE) {
process.send({