this post was submitted on 20 Dec 2023
285 points (96.1% liked)

Memes

45553 readers
733 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 10 months ago (1 children)

How do you use it for bots?

[–] [email protected] 11 points 10 months ago (1 children)

Search for botfather.

It creates an API token and in combination with my own telegramID I get notifications from services like uptime-kuma or watchtower.

[–] [email protected] 1 points 10 months ago (2 children)

I'm ignorant to all of this, what's the purpose of bots? How are they used?

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago) (1 children)

Relay notifications or/and messages, and other useful functions, like automated control of your home server and other electronics like vacuum robot and such from places with bad connection, also automated fetch of information you need, like timesheet or news you follow or state of your home and this is just fraction of use cases the only limiter is your imagination

[–] [email protected] 0 points 10 months ago (1 children)

And this is best done through telegram?

[–] [email protected] 2 points 10 months ago

It's very effective for sysadmins if you want to get real time notifications about server stats. The possibility are endless because you could push everything with curl from commandline or cron. For example why not get informations about SSH login attempts or CPU usage or unattended upgrade logs?