diff --git a/README.md b/README.md index c630fd0..43bef91 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Can be used for Discord to make tables { label: 'Count', key: 'count' } ]; - const tableString = await new DiscordSimpleTable(columns) + const tableString = new DiscordSimpleTable(columns) .setJsonArrayInputs(data) // defines the data .setStringOffset(2) // adds an offset to the words like 2 means "Username Bucket Size" .addVerticalBar() // adds an vertical Bar @@ -45,7 +45,7 @@ You can also leave out the ".addVerticalBar()" and ".addIndex(1)" ```js //... - const tableString = await new DiscordSimpleTable(columns) + const tableString = new DiscordSimpleTable(columns) .setJsonArrayInputs(data) .setStringOffset(2) .build(); diff --git a/package.json b/package.json index a9b7724..adc8030 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discord-simpletable", - "version": "1.0.0", + "version": "1.0.1", "description": "A DiscordSimpleTable builder for Discord.js", "main": "DiscordSimpleTable.js", "publishConfig": {