benjick / meteor-telegram-bot

Telegram bot plugin for Meteor
24 stars 15 forks source link

enable catchAll to catch messages without slash commands #3

Closed dcsan closed 9 years ago

dcsan commented 9 years ago

related to https://github.com/benjick/meteor-telegram-bot/issues/2#issuecomment-131512388

I moved the else so that I can just listen to anything i'm not sure if how you had it was intended, but sending a PR just in case

https://github.com/benjick/meteor-telegram-bot/compare/master...dcsan:master#diff-bbf93bd50fe3430cb93c364ce85173f8R48

i switched back to tabs to match your style but unfortunately my editor/linter put some extra spaces between function names

also bumped it to 1.0.1

unfortunately a couple of the tests are failing, one looks like a complex NPM package dependency thing at tinytest time, which I'm not sure how to fix.

image

benjick commented 9 years ago

I can't read this PR, send one that's not linted. And I don't want to rename my package to "- FORK".