Skip to content

Commit

Permalink
fixed docs lmao
Browse files Browse the repository at this point in the history
  • Loading branch information
yetnt committed Jul 5, 2023
1 parent 2af279d commit 7938fc0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ npm i disgamekit

#### Parameters

- `client` : Your discord.js client object
- `id` : The unique identifier for the game.

```js
Expand All @@ -39,7 +38,7 @@ const { Client, IntentsBitField } = require('discord.js');
const client = new Client({ intents: [IntentsBitField.Flags.Guilds, IntentsBitField.Flags.GuildMessages, IntentsBitField.Flags.MessageContent] });
*/
const game = new Game(client, 'gameId');
const game = new Game('gameId');
```

### Methods
Expand Down Expand Up @@ -69,7 +68,7 @@ Ends the game and emit's the "end" event.
##### Parameters

- `interaction`:**(optional)** Interaction associated with the game
- `custom`: Pass a custom string to be sent to the event listener.
- `custom`:**(optional)** Pass a custom string to be sent to the event listener.
- `plane`:**(optional)** Pass the plane to be reset.

```js
Expand Down

0 comments on commit 7938fc0

Please sign in to comment.