enplotz / mensa_ukon Goto Github PK
View Code? Open in Web Editor NEW๐ด Unofficial Telegram bot and library for Uni Konstanz canteen plan. ๐๐พ
Home Page: https://telegram.me/MensaUKONBot
๐ด Unofficial Telegram bot and library for Uni Konstanz canteen plan. ๐๐พ
Home Page: https://telegram.me/MensaUKONBot
Ideally, we would like stdout
to really just contain errors (or warnings?) and everything else go to the log file(s). pygogo seems like a nice to use library.
Maybe it's a good idea to divide the log into multiple files:
Find out if we can respond to a command msg that was edited and edit our response accordingly.
Works:
/mensa
/wok today
/grill 2016-07-14
/grill banana
Does not work:
/mensa today
/mensa 2016-07-14
/mensa banana
Order meals by custom order.
Options:
Overview over the whole week for specific meals would be nice. For now we could just send the weekly plan as PDF. The plan for next week is also only available as PDF.
We could use something like:
bot.sendDocument(chat_id=chat_id, document=plan.pdf)
Feature to subscribe to daily/weekly messages directly from the bot.
Possible commands:
/subscribe giessberg @daily 8:00
/subscribe giessberg @weekly 8pm
/unsubscribe
Currently, the bot polls for new updates. I find this kinda stupid, as the bot framework offers a web hook API where the Telegram server pushes updates to. However until now I could not figure out how to make this work, as one needs to submit a certificate matching the hooks url (only HTTPS is allowed).
The bot could use some administrative capabilities (like configure logging levels or reload the logging config). We could look into ownbot for that.
Persistent settings for
Cache responses.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.