DEV Community

ILshat Khamitov
ILshat Khamitov

Posted on

 

Added work with multi states in one moment in KaufmanBot at NestJS

Links

https://github.com/EndyKaufman/kaufman-bot - source code of the bot

https://telegram.me/KaufmanBot - current bot in telegram

https://telegram.me/DevelopKaufmanBot - current bot in telegram (develop-branch)

Usage example

Features

  • add support work with multi states in one moments
  • append locale values to msg argument in onBeforeBotCommands, onMessage, onContextBotCommands, onHelp, onAfterBotCommands args, move all duplicated checkSpyWords to BotCommandsToolsService
  • add method changeMessageId in BotCommandsStorageProvider

Latest comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.