Fix plugins broken by latest Discord update (#3609)
This commit is contained in:
parent
93294673de
commit
330c3cead7
9 changed files with 11 additions and 15 deletions
|
|
@ -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),"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue