You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you can enable, disable or set the scope prefix to one character but I have seen people want both the _ prefix and without that. Currently to do this you need override the python subcommand in a special cog etc. I think this can all be solved with a couple of lines in the package.
The Ideal Solution
Setting the Flags.SCOPE_PREFIX to a Union[str, Sequence[str], Callable[[Message], str]] essentially the same type as ext.commands.Bot.command_prefix.
The Problem
Currently you can enable, disable or set the scope prefix to one character but I have seen people want both the
_
prefix and without that. Currently to do this you need override the python subcommand in a special cog etc. I think this can all be solved with a couple of lines in the package.The Ideal Solution
Setting the Flags.SCOPE_PREFIX to a
Union[str, Sequence[str], Callable[[Message], str]]
essentially the same type asext.commands.Bot.command_prefix
.Something like this:
That will allow users to do:
jsk py _author
andjsk py author
.The Current Solution
Overriding the
python
in a cog.Summary
Allow multiple scope prefixes.
The text was updated successfully, but these errors were encountered: