Change method of getting owner in stats
This commit is contained in:
parent
c3a1de0d60
commit
9ff41267e9
1 changed files with 1 additions and 1 deletions
|
@ -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: [{
|
||||
|
|
Loading…
Reference in a new issue