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

Add support for fetching total members from discord server #3

Closed
1 task done
Bhupesh-V opened this issue Feb 6, 2023 · 5 comments · Fixed by #4
Closed
1 task done

Add support for fetching total members from discord server #3

Bhupesh-V opened this issue Feb 6, 2023 · 5 comments · Fixed by #4
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Bhupesh-V
Copy link
Member

Feature details?

We currently only have metrics from Reddit, it would be nice to have similar or some kind of data from our discord server as well.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Bhupesh-V Bhupesh-V added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Feb 6, 2023
@Bhupesh-V Bhupesh-V changed the title Add support for fetching total members in discord Add support for fetching total members from discord server Feb 6, 2023
@Bhupesh-V Bhupesh-V pinned this issue Feb 9, 2023
@imkaka
Copy link
Contributor

imkaka commented Feb 10, 2023

I would love to work on this, please assign it to me.

@Bhupesh-V
Copy link
Member Author

I would love to work on this, please assign it to me.

You got it!
LMK if any help/suggestions is required.

@imkaka
Copy link
Contributor

imkaka commented Feb 12, 2023

Hey @Bhupesh-V
a couple of questions.

  1. How exactly is this to be designed currently, the Reddit script is writing to a file in data/, we want to have another script that writes to a new file or wants to modify the same file.
  2. What all data from discord is needed for this, do we have any experience building with discord and what all APIs should I explore?

@Bhupesh-V
Copy link
Member Author

  1. We can modify the same file, just add a new JSON Key like discordTotalMembers.
  2. No, we haven't researched about the API. We only need the total members count for now. If using the API is not possible, you can look at this hack to fetch data using an invite link https://stackoverflow.com/questions/71566064/how-to-get-total-member-count-of-any-discord-server.

@imkaka imkaka mentioned this issue Feb 26, 2023
8 tasks
@imkaka
Copy link
Contributor

imkaka commented Feb 28, 2023

PR is ready for review, LMK if we need to change anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants