Use precondition on subcommands
Hey how to use preconditions on sub commands ?
Solution:Jump to solution
preconditions option in the object like https://github.com/favna/musical-giggle/blob/61e48c1bec5a750370a49afd2f51aff2053f8891/src/commands/chat-input-commands/sub.ts#L12
2 Replies
Solution
preconditions option in the object like https://github.com/favna/musical-giggle/blob/61e48c1bec5a750370a49afd2f51aff2053f8891/src/commands/chat-input-commands/sub.ts#L12
Perfect thank you that exactly what I'm looking for