https://github.com/woozyking/then-than
A simple project to detect incorrect use of then
and than
in english (the language).
This entire project was created during live streaming, quite an experience despite that the viewership has never gone higher than a single digit on either of the platforms (Twitch.tv/woozyking and Douyu.tv/woozyking). ¯\_(ツ)_/¯
The live coding experience was greatly simplified thanks to glitch.com. You can easily remix this project on it to have your own fun!
The entire footage, and (hopefully) future content will be archived in this YouTube play list. Videos for this project in particular were Part 1 and Part 2. Possible future streaming will happen at Twitch.tv/woozyking and Douyu.tv/woozyking (I usually come up at 9PM America/Toronto time).
then
andthan
incorrect usage detection (not 100%) by leveraging LanguageTool- An express.js based API server that handles the tunneled check
- A Discord bot that listens and auto-harasses the user who sends the incorrect messages
To launch the API server, do npm start
.
To launch the bot, create a file .env
which contains environment variable DISCORD_TOKEN
(your bot app token), and do npm run bot
.