mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 22:32:50 +02:00
oops
This commit is contained in:
@@ -98,7 +98,7 @@ client.on('guildMemberRemove', (member) => {
|
|||||||
return channel.send(msg);
|
return channel.send(msg);
|
||||||
});
|
});
|
||||||
|
|
||||||
client.on('guildCreate', (guild) => {
|
client.on('guildCreate', async (guild) => {
|
||||||
console.log(`[Guild] I have joined ${guild.name}! (${guild.id})`);
|
console.log(`[Guild] I have joined ${guild.name}! (${guild.id})`);
|
||||||
const guilds = await client.shard.fetchClientValues('guilds.size');
|
const guilds = await client.shard.fetchClientValues('guilds.size');
|
||||||
const count = guilds.reduce((prev, val) => prev + val, 0);
|
const count = guilds.reduce((prev, val) => prev + val, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user