Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

feat: use toString and toJSON methods #90

@DanieliusDev

Description

@DanieliusDev

Package

guilded.ts

Description

Use toString to make make a few shortcuts when working with strings. Here are what toString can be used for:

  • Make mentions for structures such as User and ServerMember (e.g. ${user} -><@userId>)
  • Get the name of a structure (e.g. ${server} -> server name)

Use toJSON to return the raw JSON provided by the Guilded API.

Solution

Include in v0.21.0.

Alternative Solutions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions