-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
chorefixes that don't approximately result in a new featurefixes that don't approximately result in a new feature
Description
Currently, the command structure has a main command and subcommands, e.g. (/courses has unlocks and course-info).
We want to move these into separate files, to reduce file size and command typing (less characters to type). However, we still want to keep the files organized.
Things to do:
- Move all the subcommands into their own files, in a grouped folder. For example, there will be a
src/commands/coursesfolder that contains anunlocks.ts,course-info.ts,fce.ts, etc. - Move all shared functions in to a
utils.tsfor that folder. For example, we would move theCoursetype intosrc/commands/courses/utils.ts - Rewrite the command handler to match this new structure
- Also redirect commands should be done like this
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
chorefixes that don't approximately result in a new featurefixes that don't approximately result in a new feature