Skip to content

[migration]: migrate TryHackMe bot to typescript from javascript#1

Open
muhamedfazeel wants to merge 21 commits into
JabbaSec:mainfrom
muhamedfazeel:main
Open

[migration]: migrate TryHackMe bot to typescript from javascript#1
muhamedfazeel wants to merge 21 commits into
JabbaSec:mainfrom
muhamedfazeel:main

Conversation

@muhamedfazeel
Copy link
Copy Markdown

@muhamedfazeel muhamedfazeel commented Dec 14, 2025

Major changes includes:

  • Optimized the code for TypeScript
  • Migrated all the commands and client events to TypeScript
  • Added nodemon as dev dependency for easier development and testing
  • Created a common configuration, where all the environment values will be fetched
  • Added new health command to get health and performance statistics for the bot
  • Added missing environment variables to example env
  • Added validation for ENV values
  • Implemented custom logger
  • Added custom logs for commands which has delay than expected

NB: This is only just a proposal, please ignore if you found this not important

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.

1 participant