Code Monkey home page Code Monkey logo

Comments (11)

lukefx avatar lukefx commented on July 17, 2024

Hey! I'm absolutely ok with the idea to merge the two projects, for me it's the same if you want I could give you full access to my repo and use hubot-adapter as name for the lib.
Meanwhile I'm proposing some api changes to hubot for support a native way to send back images, video or audio.

from hubot-telegram.

arcturial avatar arcturial commented on July 17, 2024

So are you ok with using the telegrambot library, I think it will be valuable especially in the case where we start doing things like sending raw images. It's easier to keep error management and API response management all in once place that can be reused for other projects. If yes, then I can merge my code into your repository, or I can update it my side to use the "hubot-telegram" npm package name.

from hubot-telegram.

arcturial avatar arcturial commented on July 17, 2024

would it be possible to get access to the repository so I can clone and push directly instead of creating a fork?

from hubot-telegram.

lukefx avatar lukefx commented on July 17, 2024

Done :)

On Tuesday, June 30, 2015, Chris Brand [email protected] wrote:

would it be possible to get access to the repository so I can clone and
push directly instead of creating a fork?


Reply to this email directly or view it on GitHub
#1 (comment)
.

from hubot-telegram.

arcturial avatar arcturial commented on July 17, 2024

Pretty much done with the merger.

https://github.com/lukefx/hubot-telegram/tree/feature-arcturial-merge

Have a look in the merger branch and let me know if you agree with the changes etc. You can also test it in your hubot by using the following in your package.json:

"hubot-telegram": "https://github.com/lukefx/hubot-telegram.git#feature-arcturial-merge"

from hubot-telegram.

arcturial avatar arcturial commented on July 17, 2024

Shall I go ahead and merge these?

from hubot-telegram.

lukefx avatar lukefx commented on July 17, 2024

Hey, for me it's ok. Just merge it. My only concern is that the api are really easy and keep only one file in another npm module is...more than needed. I would include telegrambot directly in the main repo.
When you have some spare time just have a look at my experimental branch: https://github.com/lukefx/hubot-telegram/compare/experimental

from hubot-telegram.

arcturial avatar arcturial commented on July 17, 2024

Don't you think it's better to keep it separated for the sake of re-usability. Someone might need to interact with telegram without using the Hubot adapter. If you keep the API interaction code on it's own, they can use that library without having the extra code meant for Hubot only. Essentially the api.coffee file you created can be used in any scenario where a user wants to interact with a Telegram bot.

from hubot-telegram.

arcturial avatar arcturial commented on July 17, 2024

I merged the changes to master, can you perhaps bump the revision on NPM so we can close this issue. I will have a look at the experimental changes as part of a separate ticket. Also, any way to grant me access to that one NPM package?

from hubot-telegram.

arcturial avatar arcturial commented on July 17, 2024

npm owner add <user> <package name>

Looks like it is possible

from hubot-telegram.

lukefx avatar lukefx commented on July 17, 2024

Yepp, I've added you as npm owner...

from hubot-telegram.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.