derhuerst / vbb-telegram Goto Github PK
View Code? Open in Web Editor NEWA Telegram bot for Berlin & Brandenburg public transport.
Home Page: https://telegram.me/public_transport_bot
License: ISC License
A Telegram bot for Berlin & Brandenburg public transport.
Home Page: https://telegram.me/public_transport_bot
License: ISC License
53306530 '8/10/2016' '3:15 PM' '/r Get routes from A to B.'
53306530 '8/10/2016' '3:15 PM' 'kotti'
53306530 '8/10/2016' '3:15 PM' 'bellevue'
53306530 '8/10/2016' '3:15 PM' 'now'
TypeError: r.map is not a function
at Object.routes (/root/vbb-telegram/lib/render.js:72:3)
at /root/vbb-telegram/commands/routes.js:44:28
at next (native)
at resolved (/root/vbb-telegram/node_modules/so/lib/so.js:30:46)
at process._tickCallback (internal/process/next_tick.js:103:7)
Hallo Jannis, erstmal danke für diesen Bot :)
Ich würde gerne erleben wie er funktioniert, leider habe ich ihn bei mir noch nicht zum laufen gebracht. Er reagiert auf keine meiner Eingaben. Wärst du so nett und würdest mir diesbezüglich helfen?
Liebe Grüße
Flo
Hi,
thanks for your bot, I like it! (And I think, we've met last year at the Coding Amigos ;))
To save the user some typing, can you add some preset "options" when asking for when? For example, I don't want to literally type "now", I'd like to have it offered and just tap it.
Or: Can you allow some shortcuts? Like
n
for "now"10m
for "in 10 minutes"5h
for "in 5 hours"Thanks! :)
How about allowing to set some personal shortcuts? For instance, let's say I live at Ostkreuz and work in Frohnau, then I'd like to set only once something like
/set-shortcut work, Ostkreuz, Frohnau, now
This make the bot remember a shortcut named work
.
Afterwards, I can anytime call /shortcut work
, and get next connection fetched.
This could be also extended to the current location. For instance, I could set
/set-shortcut home, [current location], Ostkreuz, now
Then, when I call /shortcut home
, my current location gets fetched and then the next connection – without any tedious typing.
When I connect in Telegram to the public_transport_bot and /start
, nothings happens. Also stuff like /route
doesn't do anything.
The migrating to hafas-client@4
guide should help with this.
spot -i route
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.