1.0.2 โ€ข Published 11 months ago

yunaforseyfert v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

yunaforseyfert it's a package that tries to bring the features of my bot, but for seyfert, at a really slow pace. *This really is for me and my friends. (my first enemies)*

Installation

You can do it using npm or another packager manager, i prefer use pnpm

pnpm add yunaforseyfert

Features

Yuna.parser

An args parser for text commands, which adds various syntax for more convenient use.

๐Ÿ“– See Parser docs

Yuna.resolver

A resolver, which provides some extra functions.
๐Ÿ“– See Resolver docs

MessageWatcher

A simple solution to be able to manage when a message is edited and update the command options.

๐Ÿ“– See Watcher docs

And more features coming soon! (not so soon) ๐Ÿง

FAQ

The way to set the argsParser has changed in seyfert v2, it has also changed its name now it should be done as follows:

- import { YunaParser } from "yunaforseyfert";
- 
- // your bot's client
- new Client({ 
-     commands: {
-         argsParser: YunaParser() // Here are the settings
-     }
- });
+ import { HandleCommand } from "seyfert/lib/commands/handle";
+ import { Yuna } from "yunaforseyfert";
+ 
+ const client = new Client();
+ 
+ class YourHandleCommand extends HandleCommand {
+     argsParser = Yuna.parser(); // Here are the settings
+ }
+ 
+ client.setServices({
+     handleCommand: YourHandleCommand,
+ });

Also the enabled configuration of the Yuna.parser has been renamed to syntax.

- YunaParser({
-   enabled: {
-     // ...
-   }
- })
+ Yuna.parser({
+   syntax: {
+     // ...
+   }
+ })
    Thanks for read and using yunaforseyfert!
    By SagiriIkeda with ๐Ÿงโค๏ธ
1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

1 year ago

1.0.0-beta.2

11 months ago

1.0.0-beta.1

11 months ago

0.10.2

1 year ago

0.10.3

1 year ago

0.10.1

1 year ago

0.10.0

1 year ago

0.9.0

1 year ago

0.8.7

1 year ago

0.8.5

1 year ago

0.8.6

1 year ago

0.8.4

1 year ago

0.8.3

1 year ago

0.8.2

1 year ago

0.8.1

1 year ago