update guild create
This commit is contained in:
parent
55b2367900
commit
4f3a9bb797
|
@ -31,8 +31,8 @@ setInterval(() => {
|
||||||
export const guildCreateHandler = (guild: DiscordenoGuild) => {
|
export const guildCreateHandler = (guild: DiscordenoGuild) => {
|
||||||
log(LT.LOG, `Handling joining guild ${JSON.stringify(guild)}`);
|
log(LT.LOG, `Handling joining guild ${JSON.stringify(guild)}`);
|
||||||
guildsJoined.push({
|
guildsJoined.push({
|
||||||
name: `${guild.name}: (${guild.id})`,
|
name: `${guild.name}: (${guild.memberCount})`,
|
||||||
value: `${guild.memberCount}`,
|
value: `${guild.id}`,
|
||||||
});
|
});
|
||||||
if (guildsJoined.length === 25) {
|
if (guildsJoined.length === 25) {
|
||||||
sendGuildJoinedBatch();
|
sendGuildJoinedBatch();
|
||||||
|
|
Loading…
Reference in New Issue