forked from Supositware/Haha-Yes
refresh some info and added number of prefix
This commit is contained in:
parent
80db9604ca
commit
de865b66c5
1 changed files with 7 additions and 0 deletions
|
@ -78,11 +78,18 @@ class ReadyListener extends Listener {
|
|||
const http = require('http');
|
||||
|
||||
const requestHandler = (req, res) => {
|
||||
// Refresh some info
|
||||
commandSize = this.client.commandHandler.modules.size;
|
||||
guildSize = this.client.guilds.size;
|
||||
userSize = this.client.users.size;
|
||||
profilePicture = this.client.user.displayAvatarURL();
|
||||
|
||||
let response = {
|
||||
'commandSize': commandSize,
|
||||
'ClientTag': clientTag,
|
||||
'guildSize': guildSize,
|
||||
'userSize': userSize,
|
||||
'prefixSize': prefix.length,
|
||||
'profilePicture': profilePicture,
|
||||
'clientID': clientID,
|
||||
'djsVersion': djsVersion,
|
||||
|
|
Loading…
Reference in a new issue