1.1.23 • Published 9 months ago

grammylog v1.1.23

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

grammYLog

Logging plugin for the grammY framework!

Features

  1. Log messages received by your bot to console.
  2. Log message content as well as first name, last name, username and Telegram ID of the sender.
  3. Supports text and inline messages. In case of media messages, limited to captions.
  4. For the future, db integrations are possible to implement persistent logs.

Usage

Simply copy the plugin code from log.js and place it in your grammY project.

  1. Firstly, clone this repo.
  2. Then run npm i.
  3. Rename .env.example to .env and provide bot token.
  4. Run the example with node example/echo

Example

To use the example to see out how the plugin works:

node example/echo

Template

A template has been included to get started right away.

To use the template:

node template/template

Modify it as per your needs.

Contribute

If you'd like to contribute to the project, please read grammY's guide to plugins.

License

MIT ©️ Zubin

1.1.2

9 months ago

1.1.23

9 months ago

1.1.22

9 months ago

1.1.21

9 months ago

1.1.1

9 months ago

1.1.0

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago