Fix PinDMs, SMYN, SilentTyping, ValidUser, PlatformIndicators (#1865)

This commit is contained in:
rini
2023-10-25 12:34:23 -03:00
committed by V
parent c5dd50ad8f
commit 9c60b38acc
6 changed files with 34 additions and 56 deletions

View File

@ -25,7 +25,7 @@ export default definePlugin({
authors: [Devs.TheSun],
patches: [
{
find: "UsernameDecorationTypes:",
find: '"Message Username"',
replacement: {
match: /currentUserIsPremium:.{0,70}{children:\i(?=}\))/,
replace: "$&.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))"