mirror of
https://github.com/tiennm99/tiennm99bot.git
synced 2026-10-14 14:17:58 +00:00
refactor(commands): standardize parameter conventions
This commit is contained in:
1 parent
a211b7f8b7
commit
d2c3129d41
10 files changed
+329
-21
No files matched your search
@@ -26,14 +26,14 @@ func TestCommandPresentation(t *testing.T) {
|
||||
menu: "Health check!",
|
||||
},
|
||||
{
|
||||
name: "variadic parameters keep ellipsis",
|
||||
name: "concise parameter name",
|
||||
command: Command{
|
||||
Name: "random",
|
||||
Parameters: "<options(comma-separated)>",
|
||||
Parameters: "<option,...>",
|
||||
Description: "Pick one option",
|
||||
},
|
||||
invocation: "/random <options(comma-separated)>",
|
||||
menu: "<options(comma-separated)>. Pick one option.",
|
||||
invocation: "/random <option,...>",
|
||||
menu: "<option,...>. Pick one option.",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user