0.4.10-PATCH • Published 2 years ago

kyusei v0.4.10-PATCH

Weekly downloads
-
License
unlicense
Repository
github
Last release
2 years ago

kyusei

  • Kyusei or 急性 means "acute", there is no reason behind this name, it just sounds nice!

kyusei is a Discord.JS utility framework, written in Typescript which aims to make Commands and Events easier by providing annotations/decorators for them.

Documentation

At this current point there is not any "officially" written documentation, although that will be covered eventually, there is Typedoc-based documentation which can be found here

Examples

For more in depth examples, please refer to the /examples folder, or click here.

For a basic example of using Kyusei for commands:

// index.ts
import Kyu from 'kyusei';

const client: Kyu<true> = new Kyu({ 
    // Your intents, partials, and other Discord.JS data,
    commands: {
        path: join(__dirname, 'commands')
    }
});

client.init('token');

// commands/ExampleCommand.ts
import { Command, CommandBase } from 'kyusei';
import { ChatInputCommandInteraction, CacheType } from 'discord.js';

@Command({ name: 'Example', description: 'A basic command' })
export default class ExampleCommand implements CommandBase
{
    public execute(interaction: ChatInputCommandInteraction<CacheType>)
    {
        interaction.reply('Example command ran!');
    }
}

Publishing

If you have permission to publish, then go ahead and run npm publish and increment the version number, please push the version change as well.

This project relies heavily upon:

  • Reflect-Metadata
  • Discord.JS
0.4.10-PATCH

2 years ago

0.4.10

2 years ago

0.4.9-PATCH

2 years ago

0.4.8

2 years ago

0.4.7

2 years ago

0.4.6

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.5

2 years ago

0.1.1

2 years ago

0.0.1

2 years ago