Anammox: Remove Conflict
This commit is contained in:
parent
ec91a6b7c0
commit
86c5cc0986
1 changed files with 0 additions and 15 deletions
|
|
@ -33,12 +33,6 @@ export const settings = definePluginSettings({
|
|||
description: "Remove gift button",
|
||||
restartNeeded: true,
|
||||
},
|
||||
gif: {
|
||||
type: OptionType.BOOLEAN,
|
||||
default: false,
|
||||
description: "Remove gif and sticker buttons",
|
||||
restartNeeded: true,
|
||||
},
|
||||
emojiList: {
|
||||
type: OptionType.BOOLEAN,
|
||||
default: true,
|
||||
|
|
@ -114,15 +108,6 @@ export default definePlugin({
|
|||
replacement: { match: /&&\i\.push\(\([^&]*?,"gift"\)\)/, replace: "", },
|
||||
predicate: () => settings.store.gift,
|
||||
},
|
||||
{
|
||||
// Gif and sticker buttons
|
||||
find: '"sticker")',
|
||||
replacement: [
|
||||
{ match: /&&\i\.push\([^&]*?,"gif"\)\)/, replace: "", },
|
||||
{ match: /&&\i\.push\([^&]*?,"sticker"\)\)/, replace: "", },
|
||||
],
|
||||
predicate: () => settings.store.gif,
|
||||
},
|
||||
{
|
||||
// Emoji list
|
||||
find: "#{intl::EMOJI_PICKER_CREATE_EMOJI_TITLE}),size:",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue