Skip to content

Commit

Permalink
Fixed all improper capitilization for the word "Discord"
Browse files Browse the repository at this point in the history
  • Loading branch information
HussainLatiff committed Jul 1, 2024
1 parent d1b91de commit 847375d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 26 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

<img src="https://github.com/HussainLatiff/module-ballerinax-discord/blob/main/docs/setup/resources/discord-dev-page.png?raw=true">

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.

<img src= "https://github.com/HussainLatiff/module-ballerinax-discord/blob/main/docs/setup/resources/create-acc.png?raw=true">

Expand All @@ -24,13 +24,13 @@ Complete the account creation process by including the relavant information in t

<img src="https://github.com/HussainLatiff/module-ballerinax-discord/blob/main/docs/setup/resources/make-new-app.png?raw=true">

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

<img src="https://github.com/HussainLatiff/module-ballerinax-discord/blob/main/docs/setup/resources/create-app.png?raw=true">

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.

Expand Down
26 changes: 5 additions & 21 deletions ballerina/Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

<img src="https://github.com/HussainLatiff/module-ballerinax-discord/blob/main/docs/setup/resources/discord-dev-page.png?raw=true">

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.

<img src= "https://github.com/HussainLatiff/module-ballerinax-discord/blob/main/docs/setup/resources/create-acc.png?raw=true">

Expand All @@ -24,13 +24,13 @@ Complete the account creation process by including the relavant information in t

<img src="https://github.com/HussainLatiff/module-ballerinax-discord/blob/main/docs/setup/resources/make-new-app.png?raw=true">

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

<img src="https://github.com/HussainLatiff/module-ballerinax-discord/blob/main/docs/setup/resources/create-app.png?raw=true">

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.

Expand Down Expand Up @@ -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
```

0 comments on commit 847375d

Please sign in to comment.