Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kkrishguptaa/bot-dc-htm
Economy Management solution for one of India's largest Hackathons
https://github.com/kkrishguptaa/bot-dc-htm
bot discord discord-bot discord-js discordjs hacktoberfest htm
Last synced: 19 days ago
JSON representation
Economy Management solution for one of India's largest Hackathons
- Host: GitHub
- URL: https://github.com/kkrishguptaa/bot-dc-htm
- Owner: kkrishguptaa
- Created: 2023-07-24T14:15:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-28T11:37:45.000Z (4 months ago)
- Last Synced: 2024-10-10T19:31:08.131Z (about 1 month ago)
- Topics: bot, discord, discord-bot, discord-js, discordjs, hacktoberfest, htm
- Language: TypeScript
- Homepage:
- Size: 1.02 MB
- Stars: 11
- Watchers: 1
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TypeScript Complete Sapphire Bot example
This is a more complete setup of a Discord bot using the [sapphire framework][sapphire] written in TypeScript.
It is similar to the [starter setup](../with-typescript-starter/), but adds more data structures and a more complete setup.
## 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