feat: web-components (#8715)

This commit is contained in:
Noel
2022-10-07 06:56:13 +02:00
committed by GitHub
parent 76a7021452
commit 0ac3e766bd
46 changed files with 2250 additions and 316 deletions

View File

@@ -4,12 +4,12 @@ title: Initial files
category: Creating your bot
---
import { CH } from '@code-hike/mdx/components';
import { Section } from '@discordjs/ui';
import { Tip } from '../../components/Tip.jsx';
import { Caution } from '../../components/Caution.jsx';
import { DocsLink } from '../../components/DocsLink.jsx';
import { ResultingCode } from '../../components/ResultingCode.jsx';
import { CH } from '@code-hike/mdx/components';
import { Section } from '../../components/Section.jsx';
# Initial files
@@ -119,7 +119,7 @@ console.log(process.env.DISCORD_TOKEN);
`.gitignore`](/creating-your-bot/#git-and-gitignore).
</Caution>
<Section client:load title="Online editors (Glitch, Heroku, Replit, etc.)" defaultClosed padded dense background gutter>
<Section client:load title="Online editors (Glitch, Heroku, Replit, etc.)" defaultClosed padded background gutter>
While we generally do not recommend using online editors as hosting solutions, but rather invest in a proper virtual private server, these services do offer ways to keep your credentials safe as well! Please see the respective service's documentation and help articles for more information on how to keep sensitive values safe:
- Glitch: [Storing secrets in .env](https://glitch.happyfox.com/kb/article/18)