Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "dblposter", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A simple automatic poster for DiscordBotList", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -21,6 +21,7 @@ <div> | ||
const dblPoster = new dbl(`API KEY GOES HERE`); | ||
// Then, whatever your client is (Discordie, Discord.JS, Eris or Discord.io) | ||
const dblPoster = new dbl(`API KEY GOES HERE`, client); | ||
// Then, whatever your client is (Discordie, Discord.JS, Eris or Discord.io) | ||
dblPoster.bind(client); | ||
// Then somewhere in your code, like in READY | ||
dblPoster.bind(); | ||
``` | ||
@@ -41,3 +42,5 @@ | ||
```js | ||
dblPoster.bind(client, "mySpecialVariableName"); | ||
dblPoster.bind("mySpecialVariableName"); | ||
``` | ||
Then, access it with `client.mySpecialVariableName` |
42110
45