mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 09:56:24 +00:00
patch fix and api/index.ts update
This commit is contained in:
parent
c4f1def5e2
commit
0bce276c37
2 changed files with 21 additions and 6 deletions
|
@ -1,8 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* Vencord, a Discord client mod
|
* Vencord, a modification for Discord's desktop app
|
||||||
* Copyright (c) 2024 Vendicated and contributors
|
* Copyright (c) 2022 Vendicated and contributors
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
*
|
||||||
*/
|
* 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 * as $Badges from "./Badges";
|
import * as $Badges from "./Badges";
|
||||||
import * as $ChatButtons from "./ChatButtons";
|
import * as $ChatButtons from "./ChatButtons";
|
||||||
|
@ -20,6 +32,7 @@ import * as $Notices from "./Notices";
|
||||||
import * as $Notifications from "./Notifications";
|
import * as $Notifications from "./Notifications";
|
||||||
import * as $ServerList from "./ServerList";
|
import * as $ServerList from "./ServerList";
|
||||||
import * as $Settings from "./Settings";
|
import * as $Settings from "./Settings";
|
||||||
|
import * as $SettingsStores from "./SettingsStores";
|
||||||
import * as $Styles from "./Styles";
|
import * as $Styles from "./Styles";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -106,6 +119,8 @@ export const ChatButtons = $ChatButtons;
|
||||||
*/
|
*/
|
||||||
export const MessageUpdater = $MessageUpdater;
|
export const MessageUpdater = $MessageUpdater;
|
||||||
|
|
||||||
|
export const SettingsStores = $SettingsStores;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An API allowing you to add panels to the expression picker
|
* An API allowing you to add panels to the expression picker
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -21,8 +21,8 @@ export default definePlugin({
|
||||||
replace: "$&,...Vencord.Api.ExpressionPickerTabs.RenderTabButtons($1, $2)"
|
replace: "$&,...Vencord.Api.ExpressionPickerTabs.RenderTabButtons($1, $2)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match: /null,(\i)===\i\.ExpressionPickerViewType\.EMOJI\?.{0,55}channel:(\i),.+?\):null/,
|
match: /null,(\i)===\i\.\i\.EMOJI\?.{0,55}channel:(\i),.+?\):null/,
|
||||||
replace: "$&,...Vencord.Api.ExpressionPickerTabs.TabPanels($1, $2)"
|
replace: "$&,...Vencord.Api.Tablist.RenderButtons($1, $2, $3)"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue