Fix Patches

This commit is contained in:
thororen1234 2025-08-06 08:43:38 -04:00
parent c79d6e110b
commit 3892ace809
No known key found for this signature in database
9 changed files with 11 additions and 11 deletions

View file

@ -17,7 +17,7 @@ async function getcuteneko(): Promise<string> {
export default definePlugin({
name: "CuteNekos",
authors: [Devs.echo],
authors: [Devs.amy],
description: "Send Nekos to others",
commands: [{
name: "nekos",

View file

@ -163,9 +163,9 @@ export default definePlugin({
patches: [
{
find: '"HeaderBar"});',
find: "=!0,toolbar:",
replacement: {
match: /(?<=function.{0,100}\()\i.Fragment,/,
match: /(?<=function (\i).{0,100}\()\i.Fragment,(?=.+?toolbar:\1\(\))/,
replace: "$self.ToolboxFragmentWrapper,"
}
}

View file

@ -79,7 +79,7 @@ export default definePlugin({
patches: [
{
find: '"HeaderBar"});',
find: "=!0,toolbar:",
replacement: {
match: /(function \i\(\i\){)(.{1,200}toolbar.{1,100}mobileToolbar)/,
replace: "$1$self.toolbarAction(arguments[0]);$2"

View file

@ -262,7 +262,7 @@ export default definePlugin({
}
},
{
find: '"HeaderBar"});',
find: "=!0,toolbar:",
predicate: () => settings.store.ShowLogsButton,
replacement: {
match: /(function \i\(\i\){)(.{1,200}toolbar.{1,100}mobileToolbar)/,

View file

@ -32,7 +32,7 @@ function mock(input: string): string {
export default definePlugin({
name: "MoreCommands",
description: "Echo, Lenny, Mock, and More",
authors: [Devs.Arjix, Devs.echo, Devs.Samu, EquicordDevs.zyqunix],
authors: [Devs.Arjix, Devs.amy, Devs.Samu, EquicordDevs.zyqunix],
commands: [
{
name: "echo",

View file

@ -277,7 +277,7 @@ export default definePlugin({
predicate: () => !settings.store.useNavBar
},
{
find: '"HeaderBar"});',
find: "=!0,toolbar:",
replacement: {
match: /(function \i\(\i\){)(.{1,200}toolbar.{1,200}mobileToolbar)/,
replace: "$1$self.toolbarAction(arguments[0]);$2"

View file

@ -136,7 +136,7 @@ export default definePlugin({
settings,
patches: [
{
find: '"HeaderBar"});',
find: "=!0,toolbar:",
replacement: {
match: /(function \i\(\i\){)(.{1,200}toolbar.{1,450}mobileToolbar)/,
replace: "$1$self.addIconToToolBar(arguments[0]);$2"

View file

@ -20,13 +20,13 @@ import { getListeners } from "./utils";
export default definePlugin({
name: "SoundBoardLogger",
authors: [Devs.Moxxie, EquicordDevs.Fres, Devs.echo, EquicordDevs.thororen],
authors: [Devs.Moxxie, EquicordDevs.Fres, Devs.amy, EquicordDevs.thororen],
description: "Logs all soundboards that are played in a voice chat and allows you to download them",
dependencies: ["ChatInputButtonAPI"],
patches: [
{
predicate: () => settings.store.IconLocation === "toolbar",
find: '"HeaderBar"});',
find: "=!0,toolbar:",
replacement: {
match: /(function \i\(\i\){)(.{1,500}toolbar.{1,500}mobileToolbar)/,
replace: "$1$self.addSBIconToToolBar(arguments[0]);$2"

View file

@ -151,7 +151,7 @@ function uwuifyArray(arr) {
export default definePlugin({
name: "UwUifier",
description: "Make everything uwu",
authors: [Devs.echo],
authors: [Devs.amy],
dependencies: ["MessageEventsAPI"],
settings,