Skip to content

Commit

Permalink
Organize internals (#111)
Browse files Browse the repository at this point in the history
* feat: Check on startup that all slash commands were deployed

* fix: Add a message for when deployment verification passes

* fix: Properly verify guilded commands

* feat: Organize event handlers

* fix(tests): Mock out the network stack for more reliability

* chore: Documentation around database structures

* chore: Log event handlers on the `debug` level

* fix: Reference the corrent command in `/quo blacklist`

* feat: Use discord.js builder functions for most user and channel mentions

* fix: Circular dependency

* fix: Blacklist management caused crashes

* chore: Update unit tests

* feat: Round `/cooldown` output upward to the nearest second (using `ceil` rather than `round`)

* chore: v2.0.5
  • Loading branch information
AverageHelper authored Feb 15, 2023
1 parent 3b3169d commit 30f03bc
Show file tree
Hide file tree
Showing 69 changed files with 3,504 additions and 1,203 deletions.
10 changes: 9 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:prettier/recommended"
],
"plugins": ["prettier", "unicorn", "promise", "@typescript-eslint", "deprecation"],
"plugins": [
"prettier",
"unicorn",
"promise",
"@typescript-eslint",
"deprecation",
"file-progress"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.prod.json",
Expand All @@ -22,6 +29,7 @@
"node": true
},
"rules": {
"file-progress/activate": 1,
"deprecation/deprecation": "warn",
"prettier/prettier": "warn",
"no-constant-condition": "warn",
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.5] - 2023-02-14
### Added
- We now verify on startup that all commands were deployed.

### Changed
- Round the output of `/cooldown` _upward_ to the next second, rather than _strictly_ to the nearest second. The actual cooldown time is unchanged. This new rounding only means that folks who time their next subission to the second based on `/cooldown` will be less likely to be 0-1 seconds early.

### Fixed
- Crashes related to blacklist management

## [2.0.4] - 2023-02-08
### Changed
- Clarified the header to the results from `/test`.
Expand Down Expand Up @@ -396,6 +406,7 @@ After updating, be sure to run `npm ci && npm run build:clean && npm run migrate
### Added
- Initial commit

[2.0.5]: https://github.com/AverageHelper/Gamgee/compare/v2.0.4...v2.0.5
[2.0.4]: https://github.com/AverageHelper/Gamgee/compare/v2.0.3...v2.0.4
[2.0.3]: https://github.com/AverageHelper/Gamgee/compare/v2.0.2...v2.0.3
[2.0.2]: https://github.com/AverageHelper/Gamgee/compare/v2.0.1...v2.0.2
Expand Down
Loading

0 comments on commit 30f03bc

Please sign in to comment.