Commit graph

59 commits

Author SHA1 Message Date
klux2
0cc781ac4e added sendMessage function checking if the bot was blocked and removing the id from the chat list if it was
Signed-off-by: klux2 <k.lux.gm@gmail.com>
2019-05-12 15:09:29 +02:00
klux2
8e04e905e6 replaced string replace with format string
Signed-off-by: klux2 <k.lux.gm@gmail.com>
2019-05-08 18:39:50 +02:00
klux2
d54be95d88 formatting food as monospace to it can be copied easily
Signed-off-by: klux2 <k.lux.gm@gmail.com>
2019-05-08 18:37:32 +02:00
klux2
a3ce417523 made function static, initialized datum variable
Signed-off-by: klux2 <k.lux.gm@gmail.com>
2019-05-08 18:35:18 +02:00
klux2
3ea6070d5c added hyperlink for link
Signed-off-by: klux2 <k.lux.gm@gmail.com>
2019-05-08 18:34:44 +02:00
klux2
5b2fd914a4 added link for bot profile picture
Signed-off-by: klux2 <k.lux.gm@gmail.com>
2019-04-08 17:16:01 +02:00
klux2
b6fef40174 bug fix: daily message was sent on every day
If the mensa is closed (e. g. weekends), this message shouldn't be send. After b56bdf9382, the food for the next day was sent, even if this was monday

Signed-off-by: klux2 <k.lux.gm@gmail.com>
2019-03-23 11:38:26 +01:00
klux2
b56bdf9382 bot now sends plan for next lunch (after 14:00), not for current day
Signed-off-by: klux2 <k.lux.gm@gmail.com>
2019-03-17 19:55:34 +01:00
klux2
b93b745cf0 initial commit
Signed-off-by: klux2 <k.lux.gm@gmail.com>
2019-03-17 18:48:05 +01:00