
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
User management database middleware plugin for grammY framework!
Middleware for grammY which lets you implement management of users using a database.
Supports a global blacklist feature through column 'isBlacklisted' (0 or 1) in the database.
Supports 'lastSeen' feature for users interacting with bots, along with a 'firstSeen' column storing dates pertaining to the first time a user messaged the bot to the last or recent time.
Stores user records such as Telegram user ID, username, firstName and lastName for user management.
npm i mysql2
In working directory of your bot project.
Copy the plugin code from user.js and paste it in your Telegram bot code.
Run npm start to create or initiliaze the databalse.
MIT ©️ Zubin
FAQs
User management database middleware plugin for grammY!
The npm package grammyuser receives a total of 6 weekly downloads. As such, grammyuser popularity was classified as not popular.
We found that grammyuser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.