Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IServer

Hierarchy

  • IServer

Index

Methods

getChannels

getId

  • getId(): number
  • Get the id of the server.

    Returns number

    The server id

getMembers

  • Get the members of the server.

    Returns IUser[]

    The members of the server

getName

  • getName(): string
  • Get the name of the server.

    Returns string

    The server name

getRoles

  • Get the roles of the server.

    Returns IRole[]

    The roles of the server

hasChannel

  • hasChannel(channelId: string): IChannel | boolean
  • Checks if the given channel exists on the server

    Parameters

    • channelId: string

      The channel id which shall be looked for

    Returns IChannel | boolean

    The channel if it exists, else false

Generated using TypeDoc