Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mallusrgreatv2/client-haven-bot
https://github.com/mallusrgreatv2/client-haven-bot
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mallusrgreatv2/client-haven-bot
- Owner: mallusrgreatv2
- Created: 2024-06-03T12:16:58.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-10-24T16:41:58.000Z (2 months ago)
- Last Synced: 2024-10-25T23:40:59.122Z (2 months ago)
- Language: TypeScript
- Size: 90.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TypeScript Sapphire Bot example
This is a basic setup of a Discord bot using the [sapphire framework][sapphire] written in TypeScript
## How to use it?
### Prerequisite
```sh
npm install
```### Development
This example can be run with `tsc-watch` to watch the files and automatically restart your bot.
```sh
npm run watch:start
```### Production
You can also run the bot with `npm 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
Dedicated to the public domain via the [Unlicense], courtesy of the Sapphire Community and its contributors.
[sapphire]: https://github.com/sapphiredev/framework
[unlicense]: https://github.com/sapphiredev/examples/blob/main/LICENSE.md