Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Add Discord server badge or online/offline members count to Readme and website #150

Closed
vinaypuppal opened this issue Jan 13, 2018 · 3 comments

Comments

@vinaypuppal
Copy link
Contributor

  • In discord Server Server Settings -> Widget turn on Enable Server Widget switch.
  • Below that, you will find SERVER ID
  • If we insert this SERVER ID in this URL https://img.shields.io/discord/<server-id>.svg?style=for-the-badge we will get a badge that looks like this

Discord

  • Which when clicked takes to our discord server invite page.
  • And Discord also has JSON API https://discordapp.com/api/guilds/<server-id>/widget.json just replace our server-id in above URL you can view online member details like in this URL https://discordapp.com/api/guilds/102860784329052160/widget.json which we can use to display some stats in our website.
@vinaypuppal
Copy link
Contributor Author

@duttakapil Turn on widget option on discord server and tell us the server-id

@vinaypuppal
Copy link
Contributor Author

@duttakapil Whats your thought on this?

@duttakapil
Copy link
Member

Sorry for seeing this so late @vinaypuppal. This is a nice idea, but atm our online/offline numbers on Discord are not as good as we would want them to be, so I think we should do this once we have a lot more engagement and activity in our chatroom.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants