Anammox: Fix Patches & Update Description
This commit is contained in:
parent
4c3759c661
commit
b094b1f0db
1 changed files with 16 additions and 4 deletions
|
|
@ -15,6 +15,12 @@ export const settings = definePluginSettings({
|
|||
description: "Remove shops above DMs list",
|
||||
restartNeeded: true,
|
||||
},
|
||||
quests: {
|
||||
type: OptionType.BOOLEAN,
|
||||
default: false,
|
||||
description: "Remove quests above DMs list",
|
||||
restartNeeded: true,
|
||||
},
|
||||
serverBoost: {
|
||||
type: OptionType.BOOLEAN,
|
||||
default: true,
|
||||
|
|
@ -43,7 +49,7 @@ export const settings = definePluginSettings({
|
|||
|
||||
export default definePlugin({
|
||||
name: "Anammox",
|
||||
description: "A microbial process that plays an important part in the nitrogen cycle",
|
||||
description: "Hides various features related to nitro and the store",
|
||||
authors: [Devs.Kyuuhachi],
|
||||
settings,
|
||||
|
||||
|
|
@ -53,15 +59,21 @@ export default definePlugin({
|
|||
find: 'tutorialId:"direct-messages"',
|
||||
replacement: [
|
||||
{
|
||||
match: /NAVIGATION_LINK\}\}\}\)(?=,\i(&&\(|\]))/,
|
||||
match: /"nitro-tab-group"\)/,
|
||||
replace: "$&&&undefined",
|
||||
predicate: () => settings.store.dms
|
||||
},
|
||||
{
|
||||
match: /NAVIGATION_LINK\}\}\}.{0,20}\)(?=,\i&&!\i)/,
|
||||
match: /"discord-shop"\)/,
|
||||
replace: "$&&&undefined",
|
||||
predicate: () => settings.store.dms
|
||||
},
|
||||
{
|
||||
match: /"quests"\)/,
|
||||
replace: "$&&&undefined",
|
||||
predicate: () => settings.store.quests
|
||||
},
|
||||
],
|
||||
predicate: () => settings.store.dms,
|
||||
},
|
||||
{
|
||||
// Above DMs, keyboard nav
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue