aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorMufaro <81554673+xMufaro@users.noreply.github.com>2023-04-17 01:44:33 +0200
committerGitHub <noreply@github.com>2023-04-16 23:44:33 +0000
commit9c929a4d989a0a304900f02e7e7214b095d96a2f (patch)
tree867bfd7c283a6631451aaf6d980047ed3f419d3a /src/api
parentdac9cad8736b93f7d4f95fc178040aa679563cdb (diff)
downloadVencord-9c929a4d989a0a304900f02e7e7214b095d96a2f.tar.gz
Vencord-9c929a4d989a0a304900f02e7e7214b095d96a2f.tar.bz2
Vencord-9c929a4d989a0a304900f02e7e7214b095d96a2f.zip
messageTags: Fix duplicate entries & replies (#922)
Co-authored-by: V <vendicated@riseup.net>
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,