-
-
Notifications
You must be signed in to change notification settings - Fork 83
Suggestion: RegExp prefix's #94
Comments
Uh, this was a thing... If it's broken, that's a bug. |
Confirmed bug |
|
I'm sure it was a thing in August I remember using it but I could be tripping this might break SGv2 but maybe there could be a RegexPrefix option in KlasaClientConfig so that RegexPrefix is the main prefix that couldn't be overridden aka |
Just like Komada 0.19.7's usage were so bugged the repeator tag was useless and it was capturing from the argument's position to the end (infinite catching), it got fixed in 0.20.0 with Ao's rewrite and that behaviour dissapeared. There has not been an infinite catching feature in Komada, nor in Klasa, although a bug allowed it to exist. Same happens here with the prefixes, |
I see |
@kyranet What is your opinion on the |
as mentionPrefix shouldn't be overridden and is only meant for mentionPrefix for the bot... |
My opinion is that |
I can agree with it being a nice feature to have and very true that noobie developers dont know the power of Regular expresions |
A way to be able to have custom Prefix with regex's aka
this.client.config.prefix
could benew RegExp(/!/g)
for exampleThe text was updated successfully, but these errors were encountered: