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

@ -27,12 +27,12 @@ export default definePlugin({
dependencies: ["CommandsAPI"],
commands: [
{ name: "dissatisfaction", description: " " },
{ name: "smug", description: " ಠ_ಠ" },
{ name: "happy", description: " ヽ(´▽`)/" },
{ name: "crying", description: " ಥ_ಥ" },
{ name: "angry", description: " ヽ(`Д´)ノ" },
{ name: "anger", description: " ヽ(`皿′o)ノ" },
{ name: "joy", description: " <( ̄︶ ̄)>" },
{ name: "smug", description: "ಠ_ಠ" },
{ name: "happy", description: "ヽ(´▽`)/" },
{ name: "crying", description: "ಥ_ಥ" },
{ name: "angry", description: "ヽ(`Д´)ノ" },
{ name: "anger", description: "ヽ(`皿′o)ノ" },
{ name: "joy", description: "<( ̄︶ ̄)>" },
{ name: "blush", description: "૮ ˶ᵔ ᵕ ᵔ˶ ა" },
{ name: "confused", description: "(•ิ_•ิ)?" },
{ name: "sleeping", description: "(ᴗ_ᴗ)" },
@ -42,7 +42,7 @@ export default definePlugin({
...data,
options: [OptionalMessageOption],
execute: opts => ({
content: findOption(opts, "message", "") + data.description
content: findOption(opts, "message", "") + " " + data.description
})
}))
});