From d41ce7fc34b5c8dcda2496ad18668c339e64a463 Mon Sep 17 00:00:00 2001 From: Ean Milligan Date: Tue, 15 Jul 2025 01:25:43 -0400 Subject: [PATCH] help lib reorg --- .../helpLibrary/generateHelpMessage.ts | 3 ++- .../helpLibrary/{ => rollHelp}/_rootHelp.ts | 23 ++++++++++--------- .../helpLibrary/{ => rollHelp}/decorators.ts | 0 .../helpLibrary/{ => rollHelp}/diceOptions.ts | 0 .../helpLibrary/{ => rollHelp}/diceTypes.ts | 0 .../helpLibrary/{ => rollHelp}/differences.ts | 0 .../helpLibrary/{ => rollHelp}/formatting.ts | 0 .../{ => rollHelp}/legalMathComplexFuncs.ts | 0 .../{ => rollHelp}/legalMathConsts.ts | 0 .../{ => rollHelp}/legalMathFuncs.ts | 0 .../{ => rollHelp}/legalMathOperators.ts | 0 .../{ => rollHelp}/legalMathTrigFuncs.ts | 0 .../{ => rollHelp}/miscFeatures.ts | 0 13 files changed, 14 insertions(+), 12 deletions(-) rename src/commands/helpLibrary/{ => rollHelp}/_rootHelp.ts (64%) rename src/commands/helpLibrary/{ => rollHelp}/decorators.ts (100%) rename src/commands/helpLibrary/{ => rollHelp}/diceOptions.ts (100%) rename src/commands/helpLibrary/{ => rollHelp}/diceTypes.ts (100%) rename src/commands/helpLibrary/{ => rollHelp}/differences.ts (100%) rename src/commands/helpLibrary/{ => rollHelp}/formatting.ts (100%) rename src/commands/helpLibrary/{ => rollHelp}/legalMathComplexFuncs.ts (100%) rename src/commands/helpLibrary/{ => rollHelp}/legalMathConsts.ts (100%) rename src/commands/helpLibrary/{ => rollHelp}/legalMathFuncs.ts (100%) rename src/commands/helpLibrary/{ => rollHelp}/legalMathOperators.ts (100%) rename src/commands/helpLibrary/{ => rollHelp}/legalMathTrigFuncs.ts (100%) rename src/commands/helpLibrary/{ => rollHelp}/miscFeatures.ts (100%) diff --git a/src/commands/helpLibrary/generateHelpMessage.ts b/src/commands/helpLibrary/generateHelpMessage.ts index f8736ec..847e4be 100644 --- a/src/commands/helpLibrary/generateHelpMessage.ts +++ b/src/commands/helpLibrary/generateHelpMessage.ts @@ -2,9 +2,10 @@ import { ActionRow, botId, CreateMessage, Embed, MessageComponentTypes, SelectOp import config from '~config'; -import { RootHelpPages } from 'commands/helpLibrary/_rootHelp.ts'; import { HelpContents, HelpDict, HelpPage } from 'commands/helpLibrary/helpLibrary.d.ts'; +import { RootHelpPages } from 'commands/helpLibrary/rollHelp/_rootHelp.ts'; + import { infoColor1 } from 'embeds/colors.ts'; import { InteractionValueSeparator } from 'events/interactionCreate.ts'; diff --git a/src/commands/helpLibrary/_rootHelp.ts b/src/commands/helpLibrary/rollHelp/_rootHelp.ts similarity index 64% rename from src/commands/helpLibrary/_rootHelp.ts rename to src/commands/helpLibrary/rollHelp/_rootHelp.ts index ac54844..1246020 100644 --- a/src/commands/helpLibrary/_rootHelp.ts +++ b/src/commands/helpLibrary/rollHelp/_rootHelp.ts @@ -1,17 +1,18 @@ import config from '~config'; import { HelpPage } from 'commands/helpLibrary/helpLibrary.d.ts'; -import { DecoratorsHelpPages } from 'commands/helpLibrary/decorators.ts'; -import { DiceOptionsHelpPages } from 'commands/helpLibrary/diceOptions.ts'; -import { DiceTypesHelpPages } from 'commands/helpLibrary/diceTypes.ts'; -import { DifferencesHelpPages } from 'commands/helpLibrary/differences.ts'; -import { FormattingHelpPages } from 'commands/helpLibrary/formatting.ts'; -import { LegalMathComplexFuncsHelpPages } from 'commands/helpLibrary/legalMathComplexFuncs.ts'; -import { LegalMathConstsHelpPages } from 'commands/helpLibrary/legalMathConsts.ts'; -import { LegalMathFuncsHelpPages } from 'commands/helpLibrary/legalMathFuncs.ts'; -import { LegalMathOperators } from 'commands/helpLibrary/legalMathOperators.ts'; -import { LegalMathTrigFuncsHelpPages } from 'commands/helpLibrary/legalMathTrigFuncs.ts'; -import { MiscFeaturesHelpPages } from 'commands/helpLibrary/miscFeatures.ts'; + +import { DecoratorsHelpPages } from 'commands/helpLibrary/rollHelp/decorators.ts'; +import { DiceOptionsHelpPages } from 'commands/helpLibrary/rollHelp/diceOptions.ts'; +import { DiceTypesHelpPages } from 'commands/helpLibrary/rollHelp/diceTypes.ts'; +import { DifferencesHelpPages } from 'commands/helpLibrary/rollHelp/differences.ts'; +import { FormattingHelpPages } from 'commands/helpLibrary/rollHelp/formatting.ts'; +import { LegalMathComplexFuncsHelpPages } from 'commands/helpLibrary/rollHelp/legalMathComplexFuncs.ts'; +import { LegalMathConstsHelpPages } from 'commands/helpLibrary/rollHelp/legalMathConsts.ts'; +import { LegalMathFuncsHelpPages } from 'commands/helpLibrary/rollHelp/legalMathFuncs.ts'; +import { LegalMathOperators } from 'commands/helpLibrary/rollHelp/legalMathOperators.ts'; +import { LegalMathTrigFuncsHelpPages } from 'commands/helpLibrary/rollHelp/legalMathTrigFuncs.ts'; +import { MiscFeaturesHelpPages } from 'commands/helpLibrary/rollHelp/miscFeatures.ts'; const name = `${config.name}'s Roll Command Details`; const description = `You can chain as many of these options as you want, as long as the option does not disallow it. This command also can fully solve math equations with parenthesis. diff --git a/src/commands/helpLibrary/decorators.ts b/src/commands/helpLibrary/rollHelp/decorators.ts similarity index 100% rename from src/commands/helpLibrary/decorators.ts rename to src/commands/helpLibrary/rollHelp/decorators.ts diff --git a/src/commands/helpLibrary/diceOptions.ts b/src/commands/helpLibrary/rollHelp/diceOptions.ts similarity index 100% rename from src/commands/helpLibrary/diceOptions.ts rename to src/commands/helpLibrary/rollHelp/diceOptions.ts diff --git a/src/commands/helpLibrary/diceTypes.ts b/src/commands/helpLibrary/rollHelp/diceTypes.ts similarity index 100% rename from src/commands/helpLibrary/diceTypes.ts rename to src/commands/helpLibrary/rollHelp/diceTypes.ts diff --git a/src/commands/helpLibrary/differences.ts b/src/commands/helpLibrary/rollHelp/differences.ts similarity index 100% rename from src/commands/helpLibrary/differences.ts rename to src/commands/helpLibrary/rollHelp/differences.ts diff --git a/src/commands/helpLibrary/formatting.ts b/src/commands/helpLibrary/rollHelp/formatting.ts similarity index 100% rename from src/commands/helpLibrary/formatting.ts rename to src/commands/helpLibrary/rollHelp/formatting.ts diff --git a/src/commands/helpLibrary/legalMathComplexFuncs.ts b/src/commands/helpLibrary/rollHelp/legalMathComplexFuncs.ts similarity index 100% rename from src/commands/helpLibrary/legalMathComplexFuncs.ts rename to src/commands/helpLibrary/rollHelp/legalMathComplexFuncs.ts diff --git a/src/commands/helpLibrary/legalMathConsts.ts b/src/commands/helpLibrary/rollHelp/legalMathConsts.ts similarity index 100% rename from src/commands/helpLibrary/legalMathConsts.ts rename to src/commands/helpLibrary/rollHelp/legalMathConsts.ts diff --git a/src/commands/helpLibrary/legalMathFuncs.ts b/src/commands/helpLibrary/rollHelp/legalMathFuncs.ts similarity index 100% rename from src/commands/helpLibrary/legalMathFuncs.ts rename to src/commands/helpLibrary/rollHelp/legalMathFuncs.ts diff --git a/src/commands/helpLibrary/legalMathOperators.ts b/src/commands/helpLibrary/rollHelp/legalMathOperators.ts similarity index 100% rename from src/commands/helpLibrary/legalMathOperators.ts rename to src/commands/helpLibrary/rollHelp/legalMathOperators.ts diff --git a/src/commands/helpLibrary/legalMathTrigFuncs.ts b/src/commands/helpLibrary/rollHelp/legalMathTrigFuncs.ts similarity index 100% rename from src/commands/helpLibrary/legalMathTrigFuncs.ts rename to src/commands/helpLibrary/rollHelp/legalMathTrigFuncs.ts diff --git a/src/commands/helpLibrary/miscFeatures.ts b/src/commands/helpLibrary/rollHelp/miscFeatures.ts similarity index 100% rename from src/commands/helpLibrary/miscFeatures.ts rename to src/commands/helpLibrary/rollHelp/miscFeatures.ts