
Security News
/Company News
Socket Is Sponsoring Composer and Packagist
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.
Logging plugin for the grammY framework!
Currently the functionality is basic.
It is designed to log messages received.
In the case of media messages, limited to the text/captions.
Along with user details such as: first name + last name (if available), user ID, and username.
I'll be adding more functions such as admin management as well as support for a log channel soon.
For the future, db integrations are possible to implement persistent logs.
Simply copy the plugin code from log.js and place it in your grammY project.
Firstly, clone this repo.
Then run npm i.
Rename example.env to .env and provide bot token.
To use the example to see out how the plugin works:
node example/echo
A template has been included to get started right away.
To use the template:
node template
Modify it as per your needs.
If you'd like to contribute to the project, please read grammY's guide to plugins.
MIT ©️ Zubin
FAQs
Logging plugin for the grammY framework!
The npm package grammylog receives a total of 2 weekly downloads. As such, grammylog popularity was classified as not popular.
We found that grammylog 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
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.

Research
/Security News
Benign-looking npm packages split malicious functionality across a dependency chain that deploys a cross-platform RAT targeting Alibaba developers.

Research
/Security News
Two Joyfill npm beta releases contain an import-time implant that uses blockchain transactions to retrieve a remote-access trojan.