A past project for others to reference for a Twitch bot built in NodeJS and uses MySQL. It's patched together for what the community needed, and was in no way meant to be a full, commerical ready product.
CODE IS PRESENTED AS IS WITH NO SUPPORT AND NO WARRANTY. THIS CODE IS NO LONGER BEING MAINTAINED.
Good luck with the spaghetti code and messy var scope if you choose to improve/implement this. 🤠
Note: This code was built and ran with Windows as the OS. YMMV on other OS'es.
Copyright (c) 2020-2022 Zoid
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
CC BY-NC-ND 4.0 human readible
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.