-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Labels
Description
Hello,
Writing commands and checking whether the user typed a slash('/') or an exclamation mark('!') to privatize the command, starts to annoy after some time.
I was talking with iPlayer, and I believe he had few nice ideas.
For example, We use 2 decorators, but tell SP that one of them is private:
@SayCommand("!cmd")
@SayCommand("/cmd", suppress_output=True)Or use only one decorator, and tell SP to automatically register the private command:
@SayCommand("!cmd", register_private_command=True)Thanks.