Skip to content

Commit 0641b36

Browse files
committed
🔨 update docs
1 parent 1e1f968 commit 0641b36

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

docs/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ const client = new PasteClient("DEV_API_KEY");
3030

3131
### Options
3232

33-
| Name | Type | Description | Required |
34-
| ----------- | -------- | -------------------------------------------------- | -------- |
35-
| `devApiKey` | `string` | [Your dev api key](https://pastebin.com/doc_api#1) | `true` |
33+
| Name | Type | Description | Required |
34+
| -------- | -------- | -------------------------------------------------- | -------- |
35+
| `apiKey` | `string` | [Your dev api key](https://pastebin.com/doc_api#1) | `true` |
36+
| `domain` | `string` | Optional domain name to a custom pastebin API | `false` |
3637

3738
[**Back To Top**](#documentation)
3839

examples/discord-bot/bot.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ bot.on("ready", async () => {
4242
type: "STRING",
4343
},
4444
{
45+
type: "STRING",
4546
name: "expire-date",
4647
required: false,
4748
description: "When the paste will expire",

examples/discord-bot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
},
99
"dependencies": {
1010
"discord.js": "^13.6.0",
11-
"pastebin-api": "latest"
11+
"pastebin-api": "^4.0.0"
1212
}
1313
}

0 commit comments

Comments
 (0)