diff --git a/src/api/index.ts b/src/api/index.ts index 66634d309..0b0c9f576 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -1,8 +1,20 @@ /* - * Vencord, a Discord client mod - * Copyright (c) 2024 Vendicated and contributors - * SPDX-License-Identifier: GPL-3.0-or-later - */ + * 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 . +*/ import * as $Badges from "./Badges"; import * as $ChatButtons from "./ChatButtons"; @@ -20,6 +32,7 @@ import * as $Notices from "./Notices"; import * as $Notifications from "./Notifications"; import * as $ServerList from "./ServerList"; import * as $Settings from "./Settings"; +import * as $SettingsStores from "./SettingsStores"; import * as $Styles from "./Styles"; /** @@ -106,6 +119,8 @@ export const ChatButtons = $ChatButtons; */ export const MessageUpdater = $MessageUpdater; +export const SettingsStores = $SettingsStores; + /** * An API allowing you to add panels to the expression picker */ diff --git a/src/plugins/_api/expressionPickerTabs.ts b/src/plugins/_api/expressionPickerTabs.ts index 33b1ef477..6a2516641 100644 --- a/src/plugins/_api/expressionPickerTabs.ts +++ b/src/plugins/_api/expressionPickerTabs.ts @@ -21,8 +21,8 @@ export default definePlugin({ replace: "$&,...Vencord.Api.ExpressionPickerTabs.RenderTabButtons($1, $2)" }, { - match: /null,(\i)===\i\.ExpressionPickerViewType\.EMOJI\?.{0,55}channel:(\i),.+?\):null/, - replace: "$&,...Vencord.Api.ExpressionPickerTabs.TabPanels($1, $2)" + match: /null,(\i)===\i\.\i\.EMOJI\?.{0,55}channel:(\i),.+?\):null/, + replace: "$&,...Vencord.Api.Tablist.RenderButtons($1, $2, $3)" } ] }