Comments (5)
pinging @oscarmlage
from bofhers.
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.
We can have both worlds if we want to:
- Telegram commands so that we can benefit from the API, parsing and all the related goodies.
- 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.
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.
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)
- !saludo_in_the_morning
- Don't store the messages, only count HOT 2
- Convert get-me, set-hook, del-hook... in cli commands
- Add TELEGRAM_WEBHOOK_KEY to /webhook route HOT 1
- Covid
- allow adding gif to quotes
- Rotating quotes
- Remove temporary debug logs
- Limit user requests HOT 1
- Edit quote object and command !quote HOT 1
- !quote uses different condicional while rotating quotes
- People in "BOFHers makers" doesn't want the hourly quote
- "0" text triggers an !addquote event
- Documentation on how to create a test environment HOT 1
- Scheduled quote is not updating quote active status HOT 1
- /help parameter should ignore slashes when querying a command's help
- Show list of channels in the front page HOT 3
- Autovalidate quotes
- Requesting access to the quote DB HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bofhers.