From 9ff41267e99d217541fde8c318fdbd22854d6e3b Mon Sep 17 00:00:00 2001 From: Essem Date: Fri, 24 Jun 2022 16:30:50 -0500 Subject: [PATCH] Change method of getting owner in stats --- commands/general/stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/general/stats.js b/commands/general/stats.js index c10043b..21906af 100644 --- a/commands/general/stats.js +++ b/commands/general/stats.js @@ -13,7 +13,7 @@ class StatsCommand extends Command { async run() { const uptime = process.uptime() * 1000; const connUptime = this.client.uptime; - const owner = await this.ipc.fetchUser(process.env.OWNER.split(",")[0]); + const owner = await this.client.getRESTUser(process.env.OWNER.split(",")[0]); const stats = await this.ipc.getStats(); return { embeds: [{