Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rodentman87/slashasaurus
A slash command handler for discord.js written in TypeScript
https://github.com/rodentman87/slashasaurus
discord discord-api slash-commands slash-commands-handler typescript
Last synced: 3 months ago
JSON representation
A slash command handler for discord.js written in TypeScript
- Host: GitHub
- URL: https://github.com/rodentman87/slashasaurus
- Owner: Rodentman87
- License: mit
- Created: 2021-09-29T03:21:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-12T03:12:54.000Z (6 months ago)
- Last Synced: 2024-11-01T06:34:22.186Z (3 months ago)
- Topics: discord, discord-api, slash-commands, slash-commands-handler, typescript
- Language: TypeScript
- Homepage: https://rodentman87.gitbook.io/slashasaurus/
- Size: 200 KB
- Stars: 19
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About
Slashasaurus is a framework built on top of Discord.js. It's inspired by React and Next.JS, so if you've used either before, this will feel kinda familiar to you.
It is _strongly_ recommended that you use [TypeScript](https://www.typescriptlang.org/) with this library, however, it is not a requirement. The quick start is written in TypeScript, most information should be very similar for vanilla JS.
## Installation
To start a new project with Slashasaurus, you need to install discord.js as well as slashasaurus.
```sh
npm install --save discord.js slashasaurus# or
yarn add discord.js slashasaurus
```Alternatively, you can use [create-slashasaurus-app](https://www.npmjs.com/package/create-slashasaurus-app) to generate the boilerplate for you.
```sh
npx create-slashasaurus-app# or
yarn create slashasaurus-app
```See [discord.js's readme](https://github.com/discordjs/discord.js#optional-packages) for more info about optional packages.
## Docs
[View the docs here!](https://rodentman87.gitbook.io/slashasaurus/)
## Latest Changelogs
Check out the [releases on GitHub](https://github.com/Rodentman87/slashasaurus/releases) for the latest changelogs.