Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ServerInformationResponse

Response object from /server/:shortCode /server/:serverId endpoint

Hierarchy

  • ServerInformationResponse

Index

Properties

id: string

Id of the server

information: { avatar: string; badge: string; bumps: number; links: { invite: null | string; site: null | string; steam: null | string; twitch: null | string; vk: null | string; youtube: null | string }; members: [number, number]; name: string; owner: string; shortDescription: null | string; tags: [] }

Additional server info

Type declaration

  • avatar: string

    Server's avatar URL (https://cdn.discordapp.com)

  • badge: string

    Server's badge. Empty string when nothing

  • bumps: number

    Bump count

  • links: { invite: null | string; site: null | string; steam: null | string; twitch: null | string; vk: null | string; youtube: null | string }

    Server's links

    • invite: null | string

      Discord invitation link

    • site: null | string

      Server's own website

    • steam: null | string

      Server's steam profile

    • twitch: null | string

      Server's twitch channel

    • vk: null | string

      Server's vk profile

    • youtube: null | string

      Server's youtube channel

  • members: [number, number]

    Members information [ all_members, online_members ]

  • name: string

    Server's name

  • owner: string

    Server Owner tag (cipherka#8404)

  • shortDescription: null | string

    Server's short description

  • tags: []

    Server's tags

links: []

Server's links

shortCode: null | string

Server's short code

status: string

--NOT-DOCUMENTED--

Generated using TypeDoc