Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.
This repository was 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

@vinaypuppal

Description

@vinaypuppal
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions