From 3b6ba2ee13f573ae51ac93014bf7b715f329984e Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Thu, 15 Dec 2022 18:46:04 +0100 Subject: [PATCH] Created Usage (markdown) --- Usage.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Usage.md diff --git a/Usage.md b/Usage.md new file mode 100644 index 0000000..0f101f9 --- /dev/null +++ b/Usage.md @@ -0,0 +1,9 @@ +## Whitelisting commands + +To whitelist a command, you simply need to add it to the `commands` section in group of your choice. Note that "command" refers to actual command, not command with arguments (`help about` is NOT a command, it's a command with an argument; `help` IS a command). + +Provided command **and all its arguments** (subcommands) will be whitelisted along with it. + +## Blacklisting subcommands + +To blacklist a subcommand, all you need to do is add it to the subcommands section in the group of your choice. Only properly formatted subcommands will be blacklisted, so `help` will NOT work, but `help about` WILL blacklist the `about` subcommand from `help` command. \ No newline at end of file