From 7938fc0982c7c48e5f27652f7e25b9a175a43bcc Mon Sep 17 00:00:00 2001 From: Yetity Date: Wed, 5 Jul 2023 18:13:52 +0200 Subject: [PATCH] fixed docs lmao --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b84f26a..3db3179 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,6 @@ npm i disgamekit #### Parameters -- `client` : Your discord.js client object - `id` : The unique identifier for the game. ```js @@ -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 @@ -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