Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paring-chan/command.ts
Command framework for discord.js written in TypeScript
https://github.com/paring-chan/command.ts
decorators discord discord-js framework typescript typescript-library
Last synced: about 2 months ago
JSON representation
Command framework for discord.js written in TypeScript
- Host: GitHub
- URL: https://github.com/paring-chan/command.ts
- Owner: paring-chan
- License: mit
- Created: 2021-04-05T12:18:18.000Z (over 3 years ago)
- Default Branch: dev
- Last Pushed: 2024-10-30T05:13:13.000Z (2 months ago)
- Last Synced: 2024-10-30T08:33:24.628Z (2 months ago)
- Topics: decorators, discord, discord-js, framework, typescript, typescript-library
- Language: TypeScript
- Homepage: https://cts.pikokr.dev
- Size: 1.99 MB
- Stars: 20
- Watchers: 1
- Forks: 7
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[![Release](https://github.com/pikokr/command.ts/actions/workflows/release.yml/badge.svg)](https://github.com/pikokr/command.ts/actions/workflows/release.yml)
[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)## About
**Command.ts** is a powerful command framework for discord.js
- Easy to make slash command
- Decorator support
- Object-oriented class structure
- TypeScript## Installation
Node.js 16.9.0 or newer is required.
```shell
npm install @pikokr/command.ts
yarn add @pikokr/command.ts
pnpm add @pikokr/command.ts
```### Required packages
- [discord.js](https://github.com/discordjs/discord.js) (`npm install discord.js`)
- [tslog](https://github.com/fullstack-build/tslog) for cts built-in logger (`npm install tslog`)## Start with template
If you want to start project with command.ts, you can use the [quickstart template](https://github.com/pikokr/command.ts-v5-template).
```shell
pnpx degit pikokr/command.ts-v5-template my-app
cd my-app
pnpm dev
```Please refer to [template repository](https://github.com/pikokr/command.ts-v5-template) for detailed usage.
## Links
- [Official Discord Server](https://discord.gg/EkFHRG4TZZ)
- [Documentation](https://cts.pikokr.dev)
- [Command.TS V5 QuickStart Template](https://github.com/pikokr/command.ts-v5-template)
- [Command.TS V4 QuickStart Template](https://github.com/pikokr/command.ts-v4-quickstart-template)
- [Command.TS V3 QuickStart Template](https://github.com/pikokr/command.ts-v3-quickstart-template)## Contributors