Coder Social home page Coder Social logo

Comments (2)

getjump avatar getjump commented on May 27, 2024 1

Actually, just before rolling out of a towel-mode:2.0 feature I guess we should made several steps:

  1. Implement proper tests for all current bot modes/skills
    • Mock Telegram API and test what calls are actually made by the bot
    • Etc
  2. Implement some kind of State Machine global and per mode/skill, from which every would benefit. So for example, let's say Nyan are having conversation with User=x in PM, and TowelMode can set State depends on a dialog flow.
  3. Just before we are getting merged towel-mode:2.0 we should enable Join Requests in VLDC Chat, so bot will be the one who decide should someone be added to group or not.

About rework of towel-mode, I guess it should like this:

  1. User clicks invite link or join group
  2. Join request were created -> Nyan can write to user in PM
  3. Nyan writes Towel Mode Message to user in PM
  4. User reads carefully that message, and for example replies to that message with his beautifully crafted intro message
  5. Nyan forwards that message to main group and someone should put ๐Ÿ‘ as a reply to that message (or we can use inline buttons, but i like reply more)
  6. Putting ๐Ÿ‘ means intro was good (not bot-alike), and nyan accepts user join request
  7. If no one puts ๐Ÿ‘, sad for user ๐Ÿ˜ข
  8. If someone puts ๐Ÿ‘Ž , social credit goes down and user should write new intro which will be sended after for example 24 hours or after he will write /send to Nyan, so he can edit his intro message well
  9. We can actually implement some kind of bypass of a Towel Mode -- for example, if user gets invited by someone or user is a known member of VLDC Chat

@egregors @C-Pro What do you think guys?

from vldc-bot.

getjump avatar getjump commented on May 27, 2024

I think we need to make separate Issue for the Test Coverage of Nyan. ๐Ÿ‘

from vldc-bot.

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.