mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 08:03:30 +01:00
chore(guide): consistent sidebar capitalization (#11175)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"title": "Additional Features"
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"title": "Additional Info",
|
||||
"pages": ["async-await", "collections", "es6-syntax", "notation", "rest-api", "proxy"]
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Using a proxy
|
||||
title: Using a Proxy
|
||||
---
|
||||
|
||||
This guide will show you how to set up a proxy with discord.js. This may be necessary if you are deploying your bot to a server with a firewall only allowing outside traffic through the proxy.
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
---
|
||||
title: Creating slash commands
|
||||
title: Creating Slash Commands
|
||||
---
|
||||
|
||||
## Creating slash commands
|
||||
|
||||
import { Step, Steps } from 'fumadocs-ui/components/steps';
|
||||
import { File, Folder, Files } from 'fumadocs-ui/components/files';
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"title": "Improving Your Dev Environment"
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Package scripts
|
||||
title: Package Scripts
|
||||
---
|
||||
|
||||
## Setting up package.json scripts
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Action rows
|
||||
title: Action Rows
|
||||
---
|
||||
|
||||
Action rows are a layout component with five "slots" that can be filled with other components. At the time of writing this guide, buttons take up one slot and select menus take up five "slots". Accordingly, each `ActionRow` can hold up to 5 buttons or a single select menu. A message can have up to five rows without providing the `IsComponentsV2` message flag. If you want to place buttons or action rows into the message body, they have to be wrapped inside rows.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"title": "Interactive Components",
|
||||
"pages": ["action-rows", "buttons", "select-menus", "interactions"]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"title": "Popular Topics",
|
||||
"defaultOpen": true,
|
||||
"pages": ["!faq", "...", "!display-components"]
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Adding your App
|
||||
title: Adding Your App
|
||||
---
|
||||
|
||||
After you set up a bot application, you'll notice that it's not in any servers yet. So how does that work?
|
||||
|
||||
3
apps/guide/content/docs/legacy/slash-commands/meta.json
Normal file
3
apps/guide/content/docs/legacy/slash-commands/meta.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"title": "Slash Commands"
|
||||
}
|
||||
Reference in New Issue
Block a user