1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 09:56:24 +00:00

Merge branch 'dev' into NeverPausePreviews

This commit is contained in:
vappster 2024-06-25 23:07:09 +02:00 committed by GitHub
commit 389b4a0641
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 7 deletions

View file

@ -222,6 +222,13 @@ export default definePlugin({
}
]
},
{
find: '="ActivityTrackingStore",',
replacement: {
match: /getVisibleRunningGames\(\).+?;(?=for)(?<=(\i)=\i\.\i\.getVisibleRunningGames.+?)/,
replace: (m, runningGames) => `${m}${runningGames}=${runningGames}.filter(({id,name})=>$self.isActivityNotIgnored({type:0,application_id:id,name}));`
}
},
{
find: ".Messages.SETTINGS_GAMES_TOGGLE_OVERLAY",
replacement: {

View file

@ -42,7 +42,7 @@ export default definePlugin({
...data,
options: [OptionalMessageOption],
execute: opts => ({
content: findOption(opts, "message", "") + data.description
content: findOption(opts, "message", "") + " " + data.description
})
}))
});