Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Luna-devv committed Jun 1, 2022
1 parent 1e46acb commit 40388f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ yarn add dlist.js
To be able to interact with the api, you have to create a client, in the client's option you have to provide the [discordlist.gg]()-token. <br />
`https://discordlist.gg/bot/<BOT_ID>/dashboard/webhooks`
```ts
import { Client as Dlist } from 'dlist.js';
//js: const Dlist = require('dlist.js');
import { Client } from 'dlist.js';
//js: const { Client } = require('dlist.js');

const client = new Client({
token: process.env.dlist_token,
Expand Down

0 comments on commit 40388f2

Please sign in to comment.