Skip to content

Commit

Permalink
Refactored and consolidated /calc commands (#801)
Browse files Browse the repository at this point in the history
* refactor(calc): refactor calc commands into two files and updated autocompletion

* refactor(calc): finished refactoring, fixed some bugs, added in validation checks for calc subcommand parameters.

* style(calc): Code cleanup and comment function descriptions

* fix(calc): added missing validations for dCalcKetamine

* refactor(autocomplete): removed redundant nasal autocomplete that I added and didn't end up needing

* refactor(calc): ran linting. forgot.

* fix(calc): fix linting again

* fix(calc): update wording fixes issue #590

---------

Co-authored-by: LunaUrsa <[email protected]>
  • Loading branch information
theimperious1 and LunaUrsa authored Aug 5, 2024
1 parent c943672 commit 4dff829
Show file tree
Hide file tree
Showing 15 changed files with 717 additions and 743 deletions.
424 changes: 424 additions & 0 deletions src/discord/commands/global/d.calc.ts

Large diffs are not rendered by default.

60 changes: 0 additions & 60 deletions src/discord/commands/global/d.calcBenzo.ts

This file was deleted.

86 changes: 0 additions & 86 deletions src/discord/commands/global/d.calcDXM.ts

This file was deleted.

68 changes: 0 additions & 68 deletions src/discord/commands/global/d.calcKetamine.ts

This file was deleted.

57 changes: 0 additions & 57 deletions src/discord/commands/global/d.calcMDMA.ts

This file was deleted.

86 changes: 0 additions & 86 deletions src/discord/commands/global/d.calcNasal.ts

This file was deleted.

Loading

0 comments on commit 4dff829

Please sign in to comment.