mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 04:56:07 +00:00
Parsers overridden during client initialization making external parsers from not working. (#200)
* fix(Colors#bold): bold returning weird values * chore: testing something * fix(Parsers): optionsParser & argsParser were being overriden by default options * revert(colors): mistakenly pushed a unplanned change --------- Co-authored-by: NotAditya69 <90441096+NotAditya69@users.noreply.github.com>
This commit is contained in:
parent
2737b8f426
commit
ac0d09d77a
@ -53,8 +53,8 @@ export class Client<Ready extends boolean = boolean> extends BaseClient {
|
||||
super(options);
|
||||
this.options = MergeOptions(this.options, {
|
||||
commands: {
|
||||
argsParser: defaultArgsParser,
|
||||
optionsParser: defaultParseOptions,
|
||||
argsParser: options?.commands?.argsParser ?? defaultArgsParser,
|
||||
optionsParser: options?.commands?.optionsParser ?? defaultParseOptions,
|
||||
},
|
||||
} satisfies ClientOptions);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user