Skip to content

Commit

Permalink
fix(typo): Github -> GitHub (discord#6273)
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhdev authored and shaydewael committed May 14, 2024
1 parent d9944e7 commit 23e508a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions docs/Getting_Started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To make the user flow a bit more explicit:
</Collapsible>

<Collapsible title="Resources used in this guide" description="Overview of the tools and technologies we'll use" icon="list">
- **[Github repository](https://github.com/discord/discord-example-app)** where the code from this guide lives along with some additional feature-specific code examples.
- **[GitHub repository](https://github.com/discord/discord-example-app)** where the code from this guide lives along with some additional feature-specific code examples.
- **[discord-interactions](https://github.com/discord/discord-interactions-js)**, a library that provides types and helper functions for Discord apps.
- **[Express](https://expressjs.com)**, a popular JavaScript web framework we'll use to create a server where Discord can send us requests.
- **[Glitch](https://glitch.com/)**, an online environment that simplifies building and hosting apps during early prototyping and development. You can also develop locally with a tool like **[ngrok](https://ngrok.com/)**.
Expand Down Expand Up @@ -103,7 +103,7 @@ With your app configured and installed, let's start developing it.

## Step 2: Running your app

All of the code used in the example app can be found in [the Github repository](https://github.com/discord/discord-example-app).
All of the code used in the example app can be found in [the GitHub repository](https://github.com/discord/discord-example-app).

To make development a bit simpler, the app uses [discord-interactions](https://github.com/discord/discord-interactions-js), which provides types and helper functions. If you prefer to use other languages or libraries, check out the [Community Resources](#DOCS_TOPICS_COMMUNITY_RESOURCES) documentation.

Expand Down Expand Up @@ -195,7 +195,7 @@ To enable your app to receive slash command requests (and other interactions), D
Glitch projects have a public URL exposed by default. Copy your project's URL by clicking the **Share** button in the top right corner, then copy the "Live site" project link near the bottom of the modal.

> info
> If you're developing locally, there are instructions for tunneling requests to your local environment [on the Github README](https://github.com/discord/discord-example-app#running-app-locally).
> If you're developing locally, there are instructions for tunneling requests to your local environment [on the GitHub README](https://github.com/discord/discord-example-app#running-app-locally).
With the link copied, go to your app's settings from [the developer portal](https://discord.com/developers/applications).

Expand Down Expand Up @@ -295,7 +295,7 @@ if (name === 'challenge' && id) {


> info
> If you aren't sure where to paste the code, you can see the full code in `examples/app.js` in the Glitch project or the root `app.js` [on Github](https://github.com/discord/discord-example-app/blob/main/app.js).
> If you aren't sure where to paste the code, you can see the full code in `examples/app.js` in the Glitch project or the root `app.js` [on GitHub](https://github.com/discord/discord-example-app/blob/main/app.js).
The above code is doing a few things:
1. Parses the request body to get the ID of the user who triggered the slash command (`userId`), and the option (object choice) they selected (`objectName`).
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/Configuring_App_Metadata_for_Linked_Roles.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Apps can define their own [role connection metadata](#DOCS_RESOURCES_APPLICATION
This tutorial walks through building a Discord app in JavaScript with linked roles support.

> info
> All of the sample code used in this tutorial can be found in the [`linked-roles-sample` Github repo](https://github.com/discord/linked-roles-sample)
> All of the sample code used in this tutorial can be found in the [`linked-roles-sample` GitHub repo](https://github.com/discord/linked-roles-sample)
---

Expand Down Expand Up @@ -44,7 +44,7 @@ After installing your app, you can head over to your server and see that it has

## Running your app

All of the code used in the example app can be found in the [Github repository](https://github.com/discord/linked-roles-sample).
All of the code used in the example app can be found in the [GitHub repository](https://github.com/discord/linked-roles-sample).

### Remix the project

Expand Down
8 changes: 4 additions & 4 deletions docs/tutorials/Hosting_on_Cloudflare_Workers.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This tutorial walks through building a Discord app powered by [`r/aww`](https://

![Demo of Reddit API app](cloudflare-tutorial-demo.gif)

All of the code for this app can be found **[on Github](https://github.com/discord/cloudflare-sample-app)**.
All of the code for this app can be found **[on GitHub](https://github.com/discord/cloudflare-sample-app)**.

### Features and technologies used

Expand Down Expand Up @@ -93,7 +93,7 @@ $ npm install
A brief look at the cloned app's project structure:

```
├── .github/workflows/ci.yaml -> Github Action configuration
├── .github/workflows/ci.yaml -> GitHub Action configuration
├── src
│ ├── commands.js -> JSON payloads for commands
│ ├── reddit.js -> Interactions with the Reddit API
Expand Down Expand Up @@ -336,9 +336,9 @@ router.post('/', async (request, env) => {
## Next steps

> info
> In case you need to reference any of the code, you can find the repo [on Github](https://github.com/discord/cloudflare-sample-app)
> In case you need to reference any of the code, you can find the repo [on GitHub](https://github.com/discord/cloudflare-sample-app)
With your app built and deployed, you can start customizing it to be your own:
- Use **[message components](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS)** in your app to add more interactivity (like buttons and select menus).
- Take a look at different **[public APIs](https://github.com/public-apis/public-apis)** on Github.
- Take a look at different **[public APIs](https://github.com/public-apis/public-apis)** on GitHub.
- Join the **[Discord Developers server](https://discord.gg/discord-developers)** to ask questions about the API, attend events hosted by the Discord API team, and interact with other developers.

0 comments on commit 23e508a

Please sign in to comment.