Skip to content

Conversation

@c0derMo
Copy link
Contributor

@c0derMo c0derMo commented Dec 23, 2022

This PR originally just intended to add unit tests to this bot. However, it turned more into a general cleanup & maintenance PR.

The following maintenance tasks & cleanups were done:

  • Bumping dependencies
  • Migrating to new eslint version
  • Revamp ConfigManager to have stronger typing and remove config templates from filesystem
  • Migrated from axios to more stable ofetch
  • Fixed all open eslint issues
  • Added and ran prettier
  • Removed unused elevated event handler functionality
  • Removed unused types

In addition to that, a framework for mocking interactions sent to the bot and the following unit tests were added:

  • Slash-Commands:
    • /test (to be removed again)
    • /koeri
    • /truthtable

@c0derMo c0derMo changed the title Add unit tests General cleanup & unit tests Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants