Code Monkey home page Code Monkey logo

Comments (6)

piclemx avatar piclemx commented on May 26, 2024

@shomali11 what do you think about this?

from slacker.

shomali11 avatar shomali11 commented on May 26, 2024

I am not against it. Did you have some flags in mind other than the token and debug flag?

Feel free to put together a PR with integration with cobra!

from slacker.

piclemx avatar piclemx commented on May 26, 2024

@shomali11 I was thinking this for the command from the bot. I don't think that will be done in slacker... not completely.. part will in commander i supposed.

Still interest? What will be the starting point.. I happy to contribute if you want to help me.

from slacker.

shomali11 avatar shomali11 commented on May 26, 2024

Oh ... But wouldn't this change the style of how one interacts with the bot?

For example, instead of:

@bot repeat hello 3

it would be:

@bot repeat --word hello --number 3

I am open to it as long as the user has the option to pick between the commander style, the cobra style and perhaps define their own custom style.

I think that would make for a fantastic feature. If you could put together a PR, that would be great. I would be more than happy to help.

from slacker.

piclemx avatar piclemx commented on May 26, 2024

In cobra, you can do something like

@bot get words --filter foo

get is a command. words is a subcommand of get.

Do you have any idea where to start with this?

from slacker.

shomali11 avatar shomali11 commented on May 26, 2024

I will close this for now until a PR is created with your idea

from slacker.

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.