fix(commands/about): use .cache (#20)
This commit is contained in:
parent
666ad4692f
commit
750619df8f
1 changed files with 3 additions and 3 deletions
|
@ -17,9 +17,9 @@ class AboutCommand extends Command {
|
|||
'Comp_iler runs on Myriad, a Docker-based arbitrary code evaluation server!',
|
||||
'Check it out here <https://github.com/1Computer1/myriad>.',
|
||||
'',
|
||||
`**Guilds**: ${this.client.guilds.size}`,
|
||||
`**Channels**: ${this.client.channels.size}`,
|
||||
`**Users**: ${this.client.users.size}`,
|
||||
`**Guilds**: ${this.client.guilds.cache.size}`,
|
||||
`**Channels**: ${this.client.channels.cache.size}`,
|
||||
`**Users**: ${this.client.users.cache.size}`,
|
||||
'',
|
||||
`**Memory Usage**: ${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)} MB`,
|
||||
`**Discord.js**: v${djsVersion}`,
|
||||
|
|
Loading…
Reference in a new issue