Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mallusrgreatv2/sapphire-template
https://github.com/mallusrgreatv2/sapphire-template
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mallusrgreatv2/sapphire-template
- Owner: mallusrgreatv2
- License: mit
- Created: 2024-07-26T14:46:15.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-07-26T14:48:56.000Z (5 months ago)
- Last Synced: 2024-07-26T16:34:15.976Z (5 months ago)
- Language: TypeScript
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TypeScript Sapphire Bot example
This is a basic setup of a Discord bot using the [sapphire framework](https://sapphirejs.dev) written in TypeScript
## How to use it?
### Prerequisite
```sh
bun install
```### Development
This example can be run with `tsc-watch` to watch the files and automatically restart your bot.
```sh
bun run watch:start
```### Production
You can also run the bot with `bun dev`, this will first build your code and then run `node ./dist/index.js`. But this is not the recommended way to run a bot in production.
## License
[MIT License](./LICENSE)