extension: Remove tooltip_text from SlashCommandManifestEntry (#16306)
This PR removes the `tooltip_text` field from `SlashCommandManifestEntry`s. The `tooltip_text` is currently only used to set the `menu_text` on a slash command, which is only used for featured slash commands. Since slash commands from extensions are not currently able to be featured, we don't need extension authors to provide this field in the manifest. This is a backwards-compatible change. Release Notes: - N/A
This commit is contained in:
@@ -18,19 +18,16 @@ For example, here is an extension that provides two slash commands: `/echo` and
|
||||
[slash_commands.echo]
|
||||
description = "echoes the provided input"
|
||||
requires_argument = true
|
||||
tooltip_text = ""
|
||||
|
||||
[slash_commands.pick-one]
|
||||
description = "pick one of three options"
|
||||
requires_argument = true
|
||||
tooltip_text = ""
|
||||
```
|
||||
|
||||
Each slash command may define the following properties:
|
||||
|
||||
- `description`: A description of the slash command that will be shown when completing available commands.
|
||||
- `requires_argument`: Indicates whether a slash command requires at least one argument to run.
|
||||
- `tooltip_text`: Currently unused.
|
||||
|
||||
## Implementing slash command behavior
|
||||
|
||||
|
||||
Reference in New Issue
Block a user