mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-16 18:07:02 -04:00
messageTags: Fix duplicate entries & replies (#922)
Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
parent
dac9cad873
commit
9c929a4d98
2 changed files with 9 additions and 5 deletions
|
@ -234,12 +234,15 @@ export default definePlugin({
|
|||
});
|
||||
break; // end 'preview'
|
||||
}
|
||||
}
|
||||
|
||||
return sendBotMessage(ctx.channel.id, {
|
||||
author,
|
||||
content: "Invalid sub-command"
|
||||
});
|
||||
default: {
|
||||
sendBotMessage(ctx.channel.id, {
|
||||
author,
|
||||
content: "Invalid sub-command"
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue