Skip to content

Commit

Permalink
chore: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Idris1401 authored Oct 10, 2022
1 parent d1edea0 commit 8a03aa0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ modmail.djs is a powerful Node.js module for discord.js that allows you to creat
npm i modmail.djs@latest
```
## Example

#### CommonJS:
```JS
const { Manager } = require('modmail.djs');
const { Client, GatewayIntentBits, Partials } = require('discord.js');
Expand All @@ -39,7 +41,7 @@ client.once('ready', () => {
client.login('');
```

#### ES6 :
#### ES6:
```JS
import { Manager } from 'modmail.djs';
import { Client, GatewayIntentBits, Partials } from 'discord.js';
Expand Down

0 comments on commit 8a03aa0

Please sign in to comment.