Giter Club home page Giter Club logo

matebot's People

Contributors

arusland avatar

Stargazers

 avatar

Watchers

 avatar  avatar

matebot's Issues

Wrong "notification in"

Steps to reproduce:

  1. Send message "10:00 25:"
  2. Bot sends message back with incorrect "notification in 1 days 33 hours"
  3. Expected "1 days 9 hours"

Spelling in "minutes"

Steps to reproduce:

  1. Send message "15:53"
  2. Bot sends message back with incorrect "notification in 1 minutes"
  3. Expected "1 minute"

Spelling in "years" and "days"

Steps to reproduce:

  1. Send message "10:00 28:10:2018"
  2. Bot sends message back with incorrect "notification in 1 years 1 days"
  3. Expected "notification in 1 year 1 day"

Non-existent dates

Steps to reproduce:

  1. Send message "10:00 29:02:2018", also "31:04:2018, 31:06:2018, 31:09:2018, 31:11:2018"
  2. Message added as notes
  3. Expected error message about wrong date

Spelling in "months"

Steps to reproduce

  1. Send message "15:00 27:11"
  2. Bot sends message back with incorrect "notification in 1 months (32 days)"
  3. Expected "notification in 1 month (32 days)"

Extend alert-time format with period

Extend alert-time format with defining realert-period after sign slash ("/") after needful time-part.

Examples:
10:00/2 This is alert message!
Will show alert at 10:00 and repeat it every 2 minutes (10:02, 10:04, etc)

10:05 23/1:04:2017 Rocket launch soon!
After alert at 10:05 2017 April 23 show alert every day

Constraint: Period can be defined only for one time-part.

Effect: If alert is in active state due to "period", alert must have command (button) to deactivate such state.

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.