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