Skip to content

Customization of messages #3

@SAOPP

Description

@SAOPP

Hi!

Firstfull thanks for this beautiful tool.

I have a question about customizing messages, for example, you can add either the specified hostname from envars - if the instance connects to a remote docker host, or take its hostname and substitute it in the connection notification line like this:

Connected to hostname with docker 20.10.2

If you use 1 bot for many instances of notifications, it is not entirely clear to whom the connection was made - this is the first question.

And the second question about the messages about containers themselves, I realized that they can be customized from the template, but it's not entirely honest to say that I understood how to do it correctly.

For example, it would be enough for me to know the name of the container, without its container id, and it started or stopped, roughly speaking, everything I said has already been implemented, it remains only to figure out how to throw up my own 'templates.js'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions