Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement Send message to TG via console command #26

Open
Euk0r opened this issue Oct 20, 2024 · 2 comments
Open

Enhancement Send message to TG via console command #26

Euk0r opened this issue Oct 20, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Euk0r
Copy link

Euk0r commented Oct 20, 2024

It would be very cool (and very useful) if there was an option to send a message from the server console to the linked Telegram chat (the same one where all messages are received).
For example, using /tgbridge send <Message to be sent to TG>.
Maybe I haven't looked well enough, but so far I haven't seen any plugin of this kind with such a feature.

@vanutp
Copy link
Owner

vanutp commented Oct 20, 2024

I'm curious about what your use case for this is)

@Euk0r
Copy link
Author

Euk0r commented Oct 20, 2024

As an example, using it as scheduled commands.
In my case, it could be used as an additional notification before restarting the server.
Other use cases could include sending messages from other plugins that allow executing commands as console (MyCommand, event plugins, etc.).
For instance, creating tickets through MyCommand and then sending a message to Telegram.
If the sending command includes specifying the channel ID and group ID, it would further expand the possibilities, leaving room for imagination.

@vanutp vanutp added enhancement New feature or request priority:normal labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants