Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
Better usage example
  • Loading branch information
zajrik committed Jul 21, 2017
1 parent 64e793a commit eefcf28
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ YAMDBF Client plugins array in your YAMDBF Client options with the id of the gui
set up

```js
const { Client } = require('yamdbf');
const { dmManager } = require('yamdbf-dm-manager');
...
// in your client options
plugins: [dmManager('guildID')]
const client = new Client({
...
plugins: [dmManager('guildID')]
});
```

That's all there is to it. Whenever a DM is sent to the bot from a user, a channel will
Expand Down

0 comments on commit eefcf28

Please sign in to comment.