Skip to content

Commit

Permalink
Update client ready event
Browse files Browse the repository at this point in the history
  • Loading branch information
onepiecehung committed Jun 16, 2023
1 parent aa2cb1f commit d9f5916
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/events/ready.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export default {

// console.log(guilds);

for (const guild of guilds) {
const g = client.guilds.cache.get(guild);
console.log("Guilds", g.name);
}
// for (const guild of guilds) {
// const g = client.guilds.cache.get(guild);
// console.log("Guilds", g.name);
// }
console.log("Total guilds:", guilds.length);

const users = client.users.cache.map((user) => user.id);
Expand Down

0 comments on commit d9f5916

Please sign in to comment.