mirror of
https://github.com/tiennm99/tiennm99bot.git
synced 2026-10-14 20:17:48 +00:00
fix(commands): remove examples from command discovery
This commit is contained in:
1 parent
b5c7427520
commit
a211b7f8b7
22 files changed
+47
-154
No files matched your search
@@ -40,7 +40,6 @@ type Command struct {
|
||||
Visibility Visibility // public/protected/private
|
||||
Description string // concise summary shown in command discovery (required, non-empty)
|
||||
Parameters string // optional syntax after the command, e.g. "<quantity> <ticker>"
|
||||
Example string // full invocation required with public Parameters; omitted without them
|
||||
Handler CommandHandler // required
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user