Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show some of the guilds that use starrybot #3

Open
mikedotexe opened this issue Apr 28, 2022 · 0 comments
Open

Show some of the guilds that use starrybot #3

mikedotexe opened this issue Apr 28, 2022 · 0 comments

Comments

@mikedotexe
Copy link
Collaborator

mikedotexe commented Apr 28, 2022

We can determine the guild's name, icon, and number of members using this handy code, assuming we have the guild object.

      async function checkSyncDetails(guild) {
        console.log('aloha guild', guild)
        const iconURL = guild.iconURL()
        console.log('aloha guild iconURL', iconURL)
        const memberCount = guild.memberCount
        console.log('aloha guild memberCount', memberCount)
        return true
      }

Would be great to have a grid of guilds. I'm imagining we send this info from the database/caching on page load with ten guilds that have a nice-sounding member count, then say, "and X more!"

So like:

  [] [] [] [] []
  [] [] [] [] []
   and 19 more!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant