Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mateleo/bodegabot
https://github.com/mateleo/bodegabot
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mateleo/bodegabot
- Owner: Mateleo
- Created: 2023-10-05T15:25:17.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-05T17:08:28.000Z (over 1 year ago)
- Last Synced: 2024-04-17T22:16:00.091Z (9 months ago)
- Language: TypeScript
- Size: 18.6 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