Code Monkey home page Code Monkey logo

ufag's People

Contributors

nicaberry avatar

ufag's Issues

"Get corrections" response is useless sometimes

One example was found so far: "? сутра" (russian)
The first correction is "сутра", which is the same word that was in the original request.
Figure out - why that is happening.

My first assumpltion is that although question-mark prefix implies definition of the word - we are looking for corrections in the "translations" dictionary.

Handle command syntax errors

For example: /ask command requires text argument, but if argument is not provided then parser considers this an unknown command.

Instead parser should return textual error message which can be sent to user.

Make buttons with suggestions

Problem: Now word correction suggestions are in plain text. User has to type the whole word all over again.

To do: Turn every suggestion into a button. Button tap should be treated as regular translation request.

Format oxford articles

Pretty-print oxford articles.
Analyze current "processing error" messages.

Release /ox functionality.

Fix /ask reply

Problem: bot owner's reply to /ask isn't recognized. It's being treated like translation request.

Fix /ask

/ask itself is working ok.

But owner's reply to it does nothing.
Seems that storing original message id is broken.

Fix docker deployment

It appears docker ps --filter 'ancestor=velet5/ufag' doesn't always work as expected.
So, old container stays there and new one cannot start, because port 8080 is occupied by the old contatiner.

Remove /ru /ox

Remove handlers of "/ru" and "/ox" (don't forget to remove them via BotFather)

Make news broadcasting

Add /news command available for owner only to deliver information about new features to users.

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.