diff --git a/README.md b/README.md index 7913275..2fbf1ec 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,15 @@ The Ballerina Discord connector offers APIs to connect and interact with the [Di ## Setup guide -Follow these steps to create a discord developer account. +Follow these steps to create a Discord developer account. ### Step 1: Login to Discord developer page -Visit [Discord developer portal](https://discord.com/login?redirect_to=%2Fdevelopers) by logging into your discord account. +Visit [Discord developer portal](https://discord.com/login?redirect_to=%2Fdevelopers) by logging into your Discord account. -If you do not have a Discord account already, [create a new discord account](https://discord.com/login) by clicking on the `Register` hyperlink below the `Log In` button when opening the discord developer page. +If you do not have a Discord account already, [create a new discord account](https://discord.com/login) by clicking on the `Register` hyperlink below the `Log In` button when opening the Discord developer page. @@ -24,13 +24,13 @@ Complete the account creation process by including the relavant information in t -Once in the discord developer portal is open, click on the `New Application` button as displayed above to start the process. +Once in the Discord developer portal is open, click on the `New Application` button as displayed above to start the process. ### Step 3: Name the Discord Application -1. Proceed by giving the discord Application a name and click on the terms of service. +1. Proceed by giving the Discord Application a name and click on the terms of service. 2. Finally complete the naming process by clicking on the `next` button. diff --git a/ballerina/Module.md b/ballerina/Module.md index 1546a60..24432b3 100644 --- a/ballerina/Module.md +++ b/ballerina/Module.md @@ -6,15 +6,15 @@ The Ballerina Discord connector offers APIs to connect and interact with the [Di ## Setup guide -Follow these steps to create a discord developer account. +Follow these steps to create a Discord developer account. ### Step 1: Login to Discord developer page -Visit [Discord developer portal](https://discord.com/login?redirect_to=%2Fdevelopers) by logging into your discord account. +Visit [Discord developer portal](https://discord.com/login?redirect_to=%2Fdevelopers) by logging into your Discord account. -If you do not have a discord account already, [create a new discord account](https://discord.com/login) by clicking on the `Register` hyperlink below the `Log In` button when opening the Discord developer page. +If you do not have a Discord account already, [create a new discord account](https://discord.com/login) by clicking on the `Register` hyperlink below the `Log In` button when opening the Discord developer page. @@ -24,13 +24,13 @@ Complete the account creation process by including the relavant information in t -Once in the discord developer portal is open, click on the `New Application` button as displayed above to start the process. +Once in the Discord developer portal is open, click on the `New Application` button as displayed above to start the process. ### Step 3: Name the Discord Application -1. Proceed by giving the discord Application a name and click on the terms of service. +1. Proceed by giving the Discord Application a name and click on the terms of service. 2. Finally complete the naming process by clicking on the `next` button. @@ -71,19 +71,3 @@ discord:Client discord = check new({ } }); ``` - - -### Step 3: Invoke the connector operation -Now, utilize the available connector operations. - -### Return linked third-party accounts of the user - -```ballerina - ConnectedAccountResponse[] connectedAccounts = check cl->/users/\@me/connections(); -```` - -### Step 4: Run the Ballerina application - -```bash -bal run -``` \ No newline at end of file