mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
Не показывать сервер со смайликами в READY
This commit is contained in:
parent
eb12d5950b
commit
e5ae4d0e47
1 changed files with 4 additions and 1 deletions
|
@ -7,10 +7,13 @@ module.exports = class {
|
||||||
|
|
||||||
async run() {
|
async run() {
|
||||||
const client = this.client;
|
const client = this.client;
|
||||||
|
const hiddenGuild = await client.guilds.fetch("568120814776614924");
|
||||||
|
const tUsers = client.users.cache.size - hiddenGuild.memberCount;
|
||||||
|
const tServers = client.guilds.cache.size - 1;
|
||||||
|
|
||||||
// Logs some informations using logger
|
// Logs some informations using logger
|
||||||
client.logger.log(`Loading a total of ${client.commands.size} command(s).`, "log");
|
client.logger.log(`Loading a total of ${client.commands.size} command(s).`, "log");
|
||||||
client.logger.log(`${client.user.tag}, ready to serve ${client.users.cache.size} users in ${client.guilds.cache.filter(guild => guild.id != "568120814776614924" && guild.id != "892727526911258654").size} servers.`, "ready");
|
client.logger.log(`${client.user.tag}, ready to serve ${tUsers} users in ${tServers} servers.`, "ready");
|
||||||
client.logger.log(`Invite Link: ${client.generateInvite({ scopes: ["bot"] , permissions: [Permissions.FLAGS.ADMINISTRATOR] })}`, "ready");
|
client.logger.log(`Invite Link: ${client.generateInvite({ scopes: ["bot"] , permissions: [Permissions.FLAGS.ADMINISTRATOR] })}`, "ready");
|
||||||
|
|
||||||
// Discord Together
|
// Discord Together
|
||||||
|
|
Loading…
Reference in a new issue