Plugin
BetterGifPicker
Makes the gif picker open the favourite category by default
1
/*2
* FiveCord — a Discord client mod3
* Copyright (c) 2025 FiveCord4
* SPDX-License-Identifier: GPL-3.0-or-later5
*/6
7
import { Devs } from "@utils/constants";8
import definePlugin from "@utils/types";9
10
export default definePlugin({11
name: "BetterGifPicker",12
description: "Makes the gif picker open the favourite category by default",13
authors: [Devs.Samwich],14
tags: ["Emotes", "Customisation"],15
patches: [16
{17
find: "renderHeaderContent(){",18
replacement: [19
{20
match: /(?<=state={resultType:)null/,21
replace: 039;"Favorites"039;22
}23
]24
}25
]26
});27