Fix plugins broken by latest Discord update (#3609)

This commit is contained in:
Nuckyz 2025-08-17 17:33:23 -03:00 committed by GitHub
parent 93294673de
commit 330c3cead7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 11 additions and 15 deletions

View file

@ -161,7 +161,7 @@ export default definePlugin({
{
find: "#{intl::WELCOME_CTA_LABEL}",
replacement: {
match: /innerClassName:\i\.welcomeCTAButton,(?<={channel:\i,message:\i}=(\i).+?)/,
match: /className:\i\.welcomeCTA,(?<={channel:\i,message:\i}=(\i).+?)/,
replace: "$&onContextMenu:(vcEvent)=>$self.pickSticker(vcEvent, $1),"
}
}