Code Monkey home page Code Monkey logo

Comments (4)

friscoMad avatar friscoMad commented on July 24, 2024

Yes you are right, help was an issue during development as there are several levels, -h options, error on help and it seems that what is documented worked for some time but in the current version is not working anymore and I hadn't a test for that.
Please if possible test with the code in the PR (it is a minor change in lines 1014-1022) I think that's enough but I don't want to release a version without being sure it works with your use case.

from botcommander.

 avatar commented on July 24, 2024

I really appreciate the quick response on this issue. This project is really helping me out on building a Discord bot for a small project I am working on. I have found all the Discord bot frameworks have terrible command parsing capabilities, and this project ended up being easier to work with for building a Discord bot, than the Discord specific ones. Nice job :)

I tested your fix with both a custom top level help command, and a nested sub-command, and my custom help command handler was now invoked for both scenarios.

👍

from botcommander.

friscoMad avatar friscoMad commented on July 24, 2024

This project is like my little child so I am happy to help.
I created it also because I couldn't find anything good enough that was not specific for one platform while I was trying to create a Skype bot. It ended with a lot more features than I needed as I tried to support most of what Commander did but it was a nice project to work on for some time.

But it is really nice to see that it is good enough to be used in the wild and it is helping other developers.

BTW: I have just published version 1.1.2 so you can use it directly

from botcommander.

 avatar commented on July 24, 2024

I really appreciate the quick turnaround on this, and yes, this is a super-helpful project that I am sure more bot developers knew about. I wasted a lot of time on other Discord frameworks before I said to myself *I really wish they could parse commands like commander parses console options. That is when I found your package :) Take care, and thanks again.

from botcommander.

Related Issues (2)

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.