diff --git a/commands/general/reload.js b/commands/general/reload.js index 0f2b4d5..ca7180c 100644 --- a/commands/general/reload.js +++ b/commands/general/reload.js @@ -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({