diff --git a/README.md b/README.md
index 9725fcb..cf6c47a 100644
--- a/README.md
+++ b/README.md
@@ -19,25 +19,25 @@ 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.
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.
-
+
Complete the account creation process by including the relavant information in the given fields.
### Step 2: Make a new Discord application
-
+
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.
@@ -45,7 +45,7 @@ Once in the Discord developer portal is open, click on the `New Application` but
### Step 4: Obtain the Client ID and Client Secret
-
+
Under the `OAuth2` section found on the left-sided list, locate the Client's Information as shown on the screen. To implement the functionalities provided by Discord's API, you will need the Client ID and Client Secret.
@@ -88,7 +88,9 @@ Now, utilize the available connector operations.
### Return linked third-party accounts of the user
```ballerina
- ConnectedAccountResponse[] connectedAccounts = check cl->/users/\@me/connections();
+public function main() returns error? {
+ ConnectedAccountResponse[] connectedAccounts = check discord->/users/\@me/connections();
+}
````
### Step 4: Run the Ballerina application
diff --git a/ballerina/Module.md b/ballerina/Module.md
index 65c73e2..5a7f210 100644
--- a/ballerina/Module.md
+++ b/ballerina/Module.md
@@ -10,25 +10,25 @@ 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.
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.
-
+
Complete the account creation process by including the relavant information in the given fields.
### Step 2: Make a new Discord application
-
+
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.
@@ -36,7 +36,7 @@ Once in the Discord developer portal is open, click on the `New Application` but
### Step 4: Obtain the Client ID and Client Secret
-
+
Under the `OAuth2` section found on the left-sided list, locate the Client's Information as shown on the screen. To implement the functionalities provided by Discord's API, you will need the Client ID and Client Secret.
@@ -78,7 +78,9 @@ Now, utilize the available connector operations.
### Return linked third-party accounts of the user
```ballerina
- ConnectedAccountResponse[] connectedAccounts = check cl->/users/\@me/connections();
+public function main() returns error? {
+ ConnectedAccountResponse[] connectedAccounts = check discord->/users/\@me/connections();
+}
````
### Step 4: Run the Ballerina application
diff --git a/ballerina/Package.md b/ballerina/Package.md
index d65a3fa..5a7f210 100644
--- a/ballerina/Package.md
+++ b/ballerina/Package.md
@@ -10,25 +10,25 @@ 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.
-
+
Complete the account creation process by including the relavant information in the given fields.
### Step 2: Make a new Discord application
-
+
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
+### Step 3: Name the Discord Application
-
+
1. Proceed by giving the Discord Application a name and click on the terms of service.
@@ -36,7 +36,7 @@ Once in the Discord developer portal is open, click on the `New Application` but
### Step 4: Obtain the Client ID and Client Secret
-
+
Under the `OAuth2` section found on the left-sided list, locate the Client's Information as shown on the screen. To implement the functionalities provided by Discord's API, you will need the Client ID and Client Secret.
@@ -78,7 +78,9 @@ Now, utilize the available connector operations.
### Return linked third-party accounts of the user
```ballerina
- ConnectedAccountResponse[] connectedAccounts = check cl->/users/\@me/connections();
+public function main() returns error? {
+ ConnectedAccountResponse[] connectedAccounts = check discord->/users/\@me/connections();
+}
````
### Step 4: Run the Ballerina application