lukefx / hubot-telegram

Hubot adapter for Telegram
MIT License
160 stars 42 forks source link

CoffeeScript 2.x support #67

Closed iphoting closed 4 years ago

iphoting commented 5 years ago

There are a few breaking changes in 2.x that impacts the telegram adaptor: https://coffeescript.org/#breaking-changes.

ERROR Cannot load adapter telegram - /app/node_modules/hubot-telegram/src/telegram.coffee:7:10: error: unexpected newline
     super
          ^

A potential fix might be to replace super with super().

lukefx commented 5 years ago

thx @iphoting for notice that... I was thinking of rewrite a new version of the adaptor with plain Javascript since hubot now is also javascript and not coffeescript anymore.

lukefx commented 4 years ago

The new version on the develop branch is in Typescript... so this should not be an issue.