aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/Commands/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/Commands/index.ts b/src/api/Commands/index.ts
index 88139d4..3f639a1 100644
--- a/src/api/Commands/index.ts
+++ b/src/api/Commands/index.ts
@@ -111,6 +111,7 @@ function registerSubCommands(cmd: Command, plugin: string) {
...o,
type: ApplicationCommandType.CHAT_INPUT,
name: `${cmd.name} ${o.name}`,
+ id: `${o.name}-${cmd.id}`,
displayName: `${cmd.name} ${o.name}`,
subCommandPath: [{
name: o.name,