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

feat: use toString and toJSON methods #90

Open
DanieliusDev opened this issue Dec 14, 2022 · 0 comments
Open

feat: use toString and toJSON methods #90

DanieliusDev opened this issue Dec 14, 2022 · 0 comments
Labels
Enhancement New feature or request Package: guilded.ts Related to the guilded.ts package

Comments

@DanieliusDev
Copy link
Member

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

@DanieliusDev DanieliusDev added Enhancement New feature or request In progress Package: guilded.ts Related to the guilded.ts package labels Dec 14, 2022
@DanieliusDev DanieliusDev moved this to Todo in Guilded.TS Dec 14, 2022
@DanieliusDev DanieliusDev moved this from Todo to In Progress in Guilded.TS Dec 14, 2022
@DanieliusDev DanieliusDev moved this from In Progress to Todo in Guilded.TS Dec 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Enhancement New feature or request Package: guilded.ts Related to the guilded.ts package
Projects
Status: Todo
Development

No branches or pull requests

1 participant