missed a spot

This commit is contained in:
Essem 2022-10-11 10:51:56 -05:00
parent e5fd71b388
commit 9ce4b470da
No known key found for this signature in database
GPG Key ID: 7D497397CC3A2A8C
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
import Command from "../../classes/command.js";
import { load } from "../../utils/handler.js";
import { checkStatus } from "../../utils/soundplayer.js";
import { paths } from "../../utils/collections.js";
class ReloadCommand extends Command {
@ -12,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.client, path, await checkStatus(), 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({