Skip to content

Commit

Permalink
feat: Actualización de los ejemplos.
Browse files Browse the repository at this point in the history
  • Loading branch information
SrGobi committed Oct 23, 2024
1 parent 12c1e2d commit 1cd9fe9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion Classes/Rank.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
.setLevel(20, "LEVEL", true)
.setStatus("online")
.setProgressBar(["#14C49E", "#FF0000"], "GRADIENT", true)
.setProgressBarTrack("#FFFFFF")
.setOverlay("#000000", 1, true)
.setUsername(data.global_name, data.discriminator)
.setCreatedTimestamp(data.createdTimestamp);
Expand Down
8 changes: 4 additions & 4 deletions Classes/Spotify.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@
**Kind**: global classCreador de tarjetas de presencia de Spotify
**Example**
```js
const card = new canvacard.Spotify()
const spotify = new canvacard.Spotify()
.setAuthor("SAIKO")
.setAlbum("SAKURA")
.setAlbum("SAKURA 👋")
.setStartTimestamp(Date.now() - 10000)
.setEndTimestamp(Date.now() + 50000)
.setImage("https://i.scdn.co/image/ab67616d00001e02e346fc6f767ca2ac8365fe60")
.setTitle("YO LO SOÑÉ");
const Image = await card.build("Cascadia Code PL");
canvacard.write(Image, "./spotify.png");```
const spotifyImage = await spotify.build("Cascadia Code PL");
canvacard.write(spotifyImage, "./spotify.png");```
<a name="setProgressBar"></a>
## setProgressBar(type, color) ⇒ [<code>Spotify</code>](#Spotify)
Expand Down

0 comments on commit 1cd9fe9

Please sign in to comment.