Plugin
MoreQuickReactions
Increases the number of reactions available in the Quick React hover menu
1
/*2
* FiveCord — a Discord client mod3
* Copyright (c) 2025 FiveCord4
* SPDX-License-Identifier: GPL-3.0-or-later5
*/6
7
import { definePluginSettings } from "@api/Settings";8
import { Devs } from "@utils/constants";9
import definePlugin, { OptionType } from "@utils/types";10
11
const settings = definePluginSettings({12
reactionCount: {13
description: "Number of reactions (0-42)",14
type: OptionType.NUMBER,15
default: 516
},17
});18
19
export default definePlugin({20
name: "MoreQuickReactions",21
description: "Increases the number of reactions available in the Quick React hover menu",22
authors: [Devs.iamme],23
tags: ["Emotes", "Reactions", "Customisation", "Shortcuts"],24
settings,25
26
get reactionCount() {27
return settings.store.reactionCount;28
},29
30
patches: [31
{32
find: "#{intl::MESSAGE_UTILITIES_A11Y_LABEL}",33
replacement: {34
match: /(?<=length>=3\?.{0,40})\.slice\(0,3\)/,35
replace: ".slice(0,$self.reactionCount)"36
}37
}38
],39
});40