Giter Site home page Giter Site logo

Comments (5)

hluaces avatar hluaces commented on September 14, 2024

pinging @oscarmlage

from bofhers.

oscarmlage avatar oscarmlage commented on September 14, 2024

Yep, I've thought about that at the beginning: just parse every msg vs telegram commands. One of the purposes of the bot (at the very beginning) was to be able to read all the messages (that's why they're being saved) and offer a kind of periodic "channel summary". I mean something like:

  • Top of people talking
  • Tagcloud
  • Hot topics
  • Commonly said words...

But you know, after all this time I had no time to summarize and people is most likely more happy with quotes feature than the other stuff so in the end we can discuss and get rid about the other features in order to have a more structured code (and, of course, privacy reasons, they are always worrying me).

from bofhers.

hluaces avatar hluaces commented on September 14, 2024

We can have both worlds if we want to:

  1. Telegram commands so that we can benefit from the API, parsing and all the related goodies.
  2. Channel data saving to create topics and clouds (which properly executed might be useful).

I think we can keep both. Later on, if needed, the "channel reading" can easily be turned off we we have the commands using the respective API.

from bofhers.

hluaces avatar hluaces commented on September 14, 2024

If that's OK with you I can prepare a PR so that the commands are moved to the API and the rest is kept in the same way (that is: saving messages as they are being saved now). I'd also add some deprecation notices on the ! commands so that users are asked to move to the / command form.

from bofhers.

oscarmlage avatar oscarmlage commented on September 14, 2024

If that's OK with you I can prepare a PR so that the commands are moved to the API and the rest is kept in the same way (that is: saving messages as they are being saved now). I'd also add some deprecation notices on the ! commands so that users are asked to move to the / command form.

Sure! it's perfectly fine. And if it's ok with you I'll wait for this PR to make a new release.

from bofhers.

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.