Code Monkey home page Code Monkey logo

telegram-bot's People

Contributors

destan avatar

Watchers

 avatar  avatar  avatar  avatar

telegram-bot's Issues

users are able to get previous messages via `/new`

when a user register to this bot, there will be shared messages before that time.

when a user sends /new command s/he gets the latest message before s/he registers. when the user send /new command again then s/he gets the message before it. this goes on.

when the user gets all messages and sends /new command again then s/he gets a warning message.

check if the content is shared before

  • when a user suggests a link it should be checked and if it's shared before it should send a warning message and this suggestion shouldn't be sent to admins
  • when an admin sends a link it should be checked and if it's shared before then it should send a warning message ti the admin and the message won't be shared with users.

Users should be able to throttle their updates

Currently if an admin sends 10 messages in an hour then all users would get them in real time. Users should be able to throttle incoming updates for themselves like send me at most 2 updates per hour etc.

Users can activate, change or disable throttling via a telegram command. something like /throttle or /decrease.

After command the bot should sends a set of buttons to users with predefined throttling choices like:

  • 1 message per hour
  • 2 messages per hour
  • 3 messages per hour
  • 4 messages per hour

those choices should be configurable via application properties or via application database

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.