create-seedcord 0.1.0 → 0.1.2-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -12
- package/dist/index.mjs +201 -186
- package/dist/index.mjs.map +1 -1
- package/package.json +22 -9
- package/templates/.vscode/extensions.json.hbs +3 -0
- package/templates/prettier.config.mjs.hbs +1 -1
- package/templates/seedcord.config.ts.hbs +6 -0
package/README.md
CHANGED
|
@@ -1,13 +1,31 @@
|
|
|
1
|
-
<
|
|
1
|
+
<div align="center">
|
|
2
2
|
<picture>
|
|
3
3
|
<source media="(prefers-color-scheme: dark)" srcset="https://cdn.seedcord.org/assets/wordmark-dark.webp" />
|
|
4
4
|
<img src="https://cdn.seedcord.org/assets/wordmark-light.webp" alt="seedcord" width="440" />
|
|
5
5
|
</picture>
|
|
6
|
-
</
|
|
6
|
+
</div>
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
<div align="center">
|
|
9
|
+
<h3>The whole Discord bot, wired and typed</h3>
|
|
10
|
+
<a href="https://seedcord.org">Website</a> ·
|
|
11
|
+
<a href="https://guide.seedcord.org">Guide</a> ·
|
|
12
|
+
<a href="https://docs.seedcord.org">Reference</a> ·
|
|
13
|
+
<a href="https://discord.gg/DzFxY58WXf">Discord</a>
|
|
14
|
+
</div>
|
|
9
15
|
|
|
10
|
-
|
|
16
|
+
<br />
|
|
17
|
+
|
|
18
|
+
<div align="center">
|
|
19
|
+
|
|
20
|
+
[](https://www.npmjs.com/package/create-seedcord) [](https://nodejs.org) [](LICENSE)
|
|
21
|
+
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
## About
|
|
25
|
+
|
|
26
|
+
`create-seedcord` scaffolds a new seedcord bot project.
|
|
27
|
+
|
|
28
|
+
Until v1.0.0, minor versions can break.
|
|
11
29
|
|
|
12
30
|
## Usage
|
|
13
31
|
|
|
@@ -19,6 +37,8 @@ yarn create seedcord my-bot
|
|
|
19
37
|
|
|
20
38
|
It asks where the project goes, how Discord reaches your bot, what the bot should react to, your bot token, and an accent color. Then it writes the project, installs, formats, generates your command types, and makes the first commit.
|
|
21
39
|
|
|
40
|
+
On Windows, run it from Windows Terminal. The prompts fall back to ASCII in `cmd.exe` making the boxes draw as `T`, `|`, and `o`.
|
|
41
|
+
|
|
22
42
|
## Flags
|
|
23
43
|
|
|
24
44
|
Every question has a flag. Pass them all to skip all questions. `--help` prints the list.
|
|
@@ -36,13 +56,6 @@ With no terminal to ask on, it reads the flags alone. It names the flag that wou
|
|
|
36
56
|
|
|
37
57
|
## What you get
|
|
38
58
|
|
|
39
|
-
|
|
59
|
+
A TypeScript project holding one slash command, its handler, a sample event handler (if you picked `gateway`), `seedcord.config.ts`, eslint, prettier, and a `.env` listing every key the framework reads.
|
|
40
60
|
|
|
41
61
|
`pnpm dev` starts it with hot reload. On the http transport it also opens a cloudflared tunnel and sets it up, and Discord posts interactions to that URL.
|
|
42
|
-
|
|
43
|
-
## Docs
|
|
44
|
-
|
|
45
|
-
- Guide: <https://guide.seedcord.org>
|
|
46
|
-
- API reference: <https://docs.seedcord.org>
|
|
47
|
-
|
|
48
|
-
Part of the [seedcord](https://github.com/seedcord/seedcord) framework. Until a major v1.0.0 release, expect breaking changes in minor versions.
|