https://github.com/sern-handler/create-bot
scaffolding tool for discord bots with sern handler
https://github.com/sern-handler/create-bot
Last synced: 5 months ago
JSON representation
scaffolding tool for discord bots with sern handler
- Host: GitHub
- URL: https://github.com/sern-handler/create-bot
- Owner: sern-handler
- Created: 2023-06-02T16:33:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-19T02:03:54.000Z (10 months ago)
- Last Synced: 2024-10-24T17:53:21.733Z (7 months ago)
- Language: TypeScript
- Homepage:
- Size: 14.3 MB
- Stars: 1
- Watchers: 0
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @sern/create-bot
## Scaffolding sern projects
With NPM:
```bash
$ npm create @sern/bot
```With Yarn:
```bash
$ yarn create @sern/bot
```With PNPM:
```bash
$ pnpm create @sern/bot
```Then follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Typescript project, run:
```bash
# npm 6.x
npm create @sern/bot --template=ts-esm --name="mybot"# npm 7+, extra double-dash is needed:
npm create @sern/bot -- --template=ts-esm --name="mybot"# !!!!POWERSHELL SYNTAX
npm create @sern/bot '--' --template=ts-esm --name="mybot"# yarn
yarn create @sern/bot --template=ts-esm --name="mybot"# pnpm
pnpm create @sern/bot --template=ts-esm --name="mybot"
```Currently supported template presets include:
- `ts`
- `js`