mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Fixes
This commit is contained in:
parent
955da95abd
commit
753be0a111
3 changed files with 1 additions and 38 deletions
|
@ -10,7 +10,7 @@ You can join our [discord server](https://discord.gg/5Xh2W87egW) for commits, ch
|
||||||
|
|
||||||
### Extra included plugins
|
### Extra included plugins
|
||||||
<details>
|
<details>
|
||||||
<summary>150 additional plugins</summary>
|
<summary>151 additional plugins</summary>
|
||||||
|
|
||||||
### All Platforms
|
### All Platforms
|
||||||
- AllCallTimers by MaxHerbold & D3SOX
|
- AllCallTimers by MaxHerbold & D3SOX
|
||||||
|
@ -69,7 +69,6 @@ You can join our [discord server](https://discord.gg/5Xh2W87egW) for commits, ch
|
||||||
- GrammarFix by S€th
|
- GrammarFix by S€th
|
||||||
- HideChatButtons by iamme
|
- HideChatButtons by iamme
|
||||||
- HideMessage by Hanzy
|
- HideMessage by Hanzy
|
||||||
- HideScreenShare by thororen
|
|
||||||
- HideServers by bepvte
|
- HideServers by bepvte
|
||||||
- HolyNotes by Wolfie
|
- HolyNotes by Wolfie
|
||||||
- HomeTyping by Samwich
|
- HomeTyping by Samwich
|
||||||
|
|
|
@ -77,6 +77,5 @@ export async function transferMessage(message: MessageObject, model: string, api
|
||||||
});
|
});
|
||||||
const res = await req.json();
|
const res = await req.json();
|
||||||
const msg = res.choices[0].message.content;
|
const msg = res.choices[0].message.content;
|
||||||
// console.log(msg);
|
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
/*
|
|
||||||
* Vencord, a modification for Discord's desktop app
|
|
||||||
* Copyright (c) 2022 Vendicated and contributors
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { EquicordDevs } from "@utils/constants";
|
|
||||||
import definePlugin from "@utils/types";
|
|
||||||
|
|
||||||
export default definePlugin({
|
|
||||||
name: "HideScreenShare",
|
|
||||||
description: "Hide your screen share by default",
|
|
||||||
authors: [EquicordDevs.thororen],
|
|
||||||
patches: [
|
|
||||||
{
|
|
||||||
find: '"self-stream-hide"',
|
|
||||||
replacement: {
|
|
||||||
match: /return (\i)?(.*?onConfirm:\(\)=>((\i)\(!\i\)))/,
|
|
||||||
replace: "let $4 = null; if ($4 !== null) return $3; return $1$2"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
});
|
|
Loading…
Reference in a new issue