Fix Broken Patches
This commit is contained in:
parent
69d6962a9b
commit
a16446cecf
3 changed files with 3 additions and 3 deletions
|
|
@ -181,7 +181,7 @@ export default definePlugin({
|
|||
{
|
||||
find: "__invalid_threadMainContent",
|
||||
replacement: {
|
||||
match: /className:\i\.\i,onClick:\i,"aria-label":(?=.{0,100}__invalid_threadMainContent)/,
|
||||
match: /className:\i\.\i,onClick:\i,onAuxClick:(?=.{0,100}__invalid_threadMainContent)/,
|
||||
replace: "draggable:!0,onDragStart:e=>$self.onChannelDragStart(e),$&"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -335,7 +335,7 @@ export default definePlugin({
|
|||
replace: "$&&&!$self.isChannelMuted($1?.guildId,$1?.id)"
|
||||
},
|
||||
{
|
||||
match: /\.afkChannelId\?\[\].{0,50}.filter\((\i)=>\i\.type===\i\.\i\.VOICE/,
|
||||
match: /\.afkChannelId\).{0,80}.filter\((\i)=>\i\.type===\i\.\i\.VOICE/,
|
||||
replace: "$&&&!$self.isChannelMuted($1?.guildId,$1?.channelId)"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -314,7 +314,7 @@ export default definePlugin({
|
|||
|
||||
// only check for expired attachments if the message is not deleted
|
||||
{
|
||||
find: "\"/ephemeral-attachments/\"",
|
||||
find: ".ATTACHMENTS_REFRESH_URLS,",
|
||||
replacement: {
|
||||
match: /\i\.attachments\.some\(\i\)\|\|\i\.embeds\.some/,
|
||||
replace: "!arguments[0].deleted && $&"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue