mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
chore: fix create-discord-bot -> create-discord-app formatting (#10951)
* chore: fix create-discord-bot -> create-discord-app formatting * chore: readme for bun --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -23,7 +23,7 @@ It's easy to create a simple Discord bot to begin your journey with the Discord
|
|||||||
npm create discord-bot ./your/chosen/directory
|
npm create discord-bot ./your/chosen/directory
|
||||||
yarn create discord-bot ./your/chosen/directory
|
yarn create discord-bot ./your/chosen/directory
|
||||||
pnpm create discord-bot ./your/chosen/directory
|
pnpm create discord-bot ./your/chosen/directory
|
||||||
bunx create-discord-bot ./your/chosen/directory
|
bun create discord-bot ./your/chosen/directory
|
||||||
```
|
```
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ const pkgJson = JSON.parse(await readFile(pkgJsonPath, 'utf8'));
|
|||||||
|
|
||||||
pkgJson.name = 'create-discord-app';
|
pkgJson.name = 'create-discord-app';
|
||||||
|
|
||||||
await writeFile(pkgJsonPath, JSON.stringify(pkgJson, null, '\t'));
|
await writeFile(pkgJsonPath, JSON.stringify(pkgJson, null, '\t') + '\n');
|
||||||
|
|
||||||
const readmePath = new URL('../README.md', import.meta.url);
|
const readmePath = new URL('../README.md', import.meta.url);
|
||||||
const readme = await readFile(readmePath, 'utf8');
|
const readme = await readFile(readmePath, 'utf8');
|
||||||
|
|||||||
Reference in New Issue
Block a user