sdcf4j icon indicating copy to clipboard operation
sdcf4j copied to clipboard

Allow default prefixes and aliases with spaces

Open Vampire opened this issue 8 years ago • 1 comments

Allow default prefixes and aliases with spaces, so that you can e. g. make t as the prefix for a translation bot and so on. Currently spaces in prefix or alias are simply removed by sdcf4j.

Vampire avatar Dec 16 '17 23:12 Vampire

A maybe better alternative might be to only support a trailing space for the default prefix and add a prefix field for the command that has the same possibility. Then for the concrete command only non-space is allowed (throwing an exception, not silently removing the spaces), but sub-(sub-(sub-))commands then should be added.

Vampire avatar Dec 25 '17 11:12 Vampire