Miscellaneous routes.

Hierarchy

  • Miscellaneous

Constructors

Methods

  • Delete a user's status, this includes the bot's one.

    Parameters

    • userID: string

      User ID (@me can be used).

    Returns Promise<void>

  • Get a specified social link from the member, if member is connected to them through Guilded.

    Parameters

    • guildID: string

      The ID of the guild the member is in.

    • memberID: string

      The ID of the member to get their social link.

    • socialMediaName: string

      Name of a social media linked to this member.

    Returns Promise<SocialLink>

  • Get a user.

    Note: when getting the bot's user, only the information specific to 'User' will be returned. If you'd like to get the UserClient (the bot itself), use Client#user.

    Parameters

    • userID: string

      The ID of the user to get.

    Returns Promise<User>

  • Retrieve user's joined servers.

    Parameters

    • userID: string

      ID of the user. (@me can be used to select your instance)

    Returns Promise<Guild[]>

  • Change a user's status, this includes the bot's one.

    Parameters

    • userID: string

      User ID (@me can be used).

    • options: PUTUserStatusBody

      Status options

    Returns Promise<void>