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:
commit
389b4a0641
2 changed files with 14 additions and 7 deletions
|
@ -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: {
|
||||
|
|
|
@ -42,7 +42,7 @@ export default definePlugin({
|
|||
...data,
|
||||
options: [OptionalMessageOption],
|
||||
execute: opts => ({
|
||||
content: findOption(opts, "message", "") + data.description
|
||||
content: findOption(opts, "message", "") + " " + data.description
|
||||
})
|
||||
}))
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue