You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letsummary=`Dokdo v${version}, discord.js \`${Discord.version}\`, \`Node.js ${process.version}\` on \`${process.platform}\`\nProcess started at ${DateFormatting.relative(system.processReadyAt())}, bot was ready at ${DateFormatting.relative(parent.client.readyAt)}.\n`
letsummary=`Dokdo v${version}, discord.js \`${djsVersion}\`, \`Node.js ${process.version}\` on \`${process.platform}\`\nProcess started at ${DateFormatting.relative(system.processReadyAt())}, bot was ready at ${DateFormatting.relative(parent.client.readyAt)}.\n`
8
10
9
11
summary+=`\nUsing ${system.memory().rss} at this process.\n`
10
12
constcache=`${parent.client.guilds.cache.size} guild(s) and ${parent.client.users.cache.size} user(s)`
summary+=`Running on PID ${process.pid} for this client, and running on PID ${process.ppid} for the parent process.\n\nThis bot is sharded in ${Array.isArray(parent.client.shard.shards) ? parent.client.shard.shards.length : parent.client.shard.count} shard(s) and running in ${guilds} guild(s).\nCan see ${cache} in this client.`
15
17
}elsesummary+=`Running on PID ${process.pid}\n\nThis bot is not sharded and can see ${cache}.`
16
18
19
+
summary+='\n'+join([GatewayIntentBits.GuildPresences,GatewayIntentBits.GuildMembers,GatewayIntentBits.MessageContent].map(u=>`\`${GatewayIntentBits[u]}\` intent is ${intents.has(u) ? 'enabled' : 'disabled'}`),', ',' and ')+'.'
0 commit comments