Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit b84b329

Browse files
committed
fix class links in readme
1 parent 26f3650 commit b84b329

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,21 @@ Your Pastebin password.
4242

4343
### user
4444
The user the client logged in with, if it has.
45-
**Type: ?[ClientUser](#ClientUser)**
45+
**Type: ?[ClientUser](#clientuser)**
4646

4747
### users
4848
All of the cached users.
49-
**Type: ?[UserStore](#UserStore)**
49+
**Type: ?[UserStore](#userstore)**
5050

5151
### pastes
5252
All of the cached pastes.
53-
**Type: ?[PasteStore](#PasteStore)**
53+
**Type: ?[PasteStore](#pastestore)**
5454

5555
### login()
5656
Login with the stored username and password and store the user key.
5757

5858
#### Returns
59-
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[PastebinClient](#PastebinClient)>**
59+
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[PastebinClient](#pastebinclient)>**
6060

6161
## PastebinError
6262
Thrown when there's an error related to the Pastebin API or pastebin.js.
@@ -101,7 +101,7 @@ new Paste(client, data)
101101

102102
### client
103103
The client used to get this paste.
104-
**Type: [PastebinClient](#PastebinClient)**
104+
**Type: [PastebinClient](#pastebinclient)**
105105

106106
### key
107107
The key of this paste.
@@ -117,7 +117,7 @@ The title of this paste.
117117

118118
### author
119119
The author of this paste.
120-
**Type: ?[User](#User)**
120+
**Type: ?[User](#user)**
121121

122122
### content
123123
The content of this paste.
@@ -155,13 +155,13 @@ The number of times anyone saw this paste.
155155
Fetch the content of this paste, and store it in the cache.
156156

157157
#### Returns
158-
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](#Paste)>**
158+
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](#paste)>**
159159

160160
### delete()
161161
Delete this paste.
162162

163163
#### Returns
164-
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](#Paste)>**
164+
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](#paste)>**
165165

166166
## User
167167
A Pastebin user.
@@ -179,7 +179,7 @@ new User(client, username)
179179

180180
### client
181181
The client used to get this user.
182-
**Type: [PastebinClient](#PastebinClient)**
182+
**Type: [PastebinClient](#pastebinclient)**
183183

184184
### username
185185
This user's username.
@@ -250,7 +250,7 @@ Whether this user is a PRO account.
250250

251251
### pastes
252252
All of this user's cached pastes.
253-
**Type: ?[UserPasteStore](#UserPasteStore)**
253+
**Type: ?[UserPasteStore](#userpastestore)**
254254

255255
## PasteStore *extends Map*
256256
A structure that holds all of the cached pastes.
@@ -268,7 +268,7 @@ new PasteStore(client, entries)
268268

269269
### client
270270
The client this store belongs to.
271-
**Type: [PastebinClient](#PastebinClient)**
271+
**Type: [PastebinClient](#pastebinclient)**
272272

273273
### fetch()
274274
Fetch a paste by its key, and store it in the cache.
@@ -279,7 +279,7 @@ Fetch a paste by its key, and store it in the cache.
279279
| key | The paste's key | string | |
280280

281281
#### Returns
282-
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](#Paste)>**
282+
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](#paste)>**
283283

284284
### create()
285285
Create a paste, and store it in the cache.
@@ -295,7 +295,7 @@ Create a paste, and store it in the cache.
295295
| options.expiry | The paste's expiry time | string | `null` |
296296

297297
#### Returns
298-
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](#Paste)>**
298+
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](#paste)>**
299299

300300
## UserStore
301301
A structure that holds all of the cached users.
@@ -313,7 +313,7 @@ new UserStore(client, entries)
313313

314314
### client
315315
The client this store belongs to.
316-
**Type: [PastebinClient](#PastebinClient)**
316+
**Type: [PastebinClient](#pastebinclient)**
317317

318318
### fetch()
319319
Fetch a user by their username, and store them in the cache.
@@ -324,7 +324,7 @@ Fetch a user by their username, and store them in the cache.
324324
| username | The user's username | PastebinClient | |
325325

326326
#### Returns
327-
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[User](#User)>**
327+
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[User](#user)>**
328328

329329
## UserPasteStore
330330
A structure that holds all of a user's cached pastes.
@@ -343,11 +343,11 @@ new UserPasteStore()
343343

344344
### client
345345
The client this store belongs to.
346-
**Type: [PastebinClient](#PastebinClient)**
346+
**Type: [PastebinClient](#pastebinclient)**
347347

348348
### user
349349
The user this store belongs to.
350-
**Type: [User](#User)**
350+
**Type: [User](#user)**
351351

352352
### fetch()
353353
Fetch this user's pastes, and store them in the cache.
@@ -358,4 +358,4 @@ Fetch this user's pastes, and store them in the cache.
358358
| max | The maximum number of pastes to fetch | number | `50` |
359359

360360
#### Returns
361-
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[UserPasteStore](#UserPasteStore)>**
361+
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[UserPasteStore](#userpastestore)>**

0 commit comments

Comments
 (0)