MessageDecorationsAPI: fix
This commit is contained in:
parent
b69ac1cdad
commit
788d22f9e9
|
@ -25,7 +25,7 @@ export default definePlugin({
|
||||||
authors: [Devs.TheSun],
|
authors: [Devs.TheSun],
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: ".withMentionPrefix",
|
find: "UsernameDecorationTypes:",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /currentUserIsPremium:.{0,70}{children:\i(?=}\))/,
|
match: /currentUserIsPremium:.{0,70}{children:\i(?=}\))/,
|
||||||
replace: "$&.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))"
|
replace: "$&.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))"
|
||||||
|
|
Loading…
Reference in a new issue