Giter Site home page Giter Site logo

Comments (4)

CodeMonkey3451 avatar CodeMonkey3451 commented on May 31, 2024

Hi ghostduck,

the Cleverbot API Key is needed for the Native Speech of the bot. So if you don't have one (You can get one for free at https://www.cleverbot.com/api/), you have to remove the class Speech(Command) from the command pool.
The best way to do it would be to remove or comment bot.py:512. This way the bot will never use the Speech class and the API is not needed.

The def setResponses() in bot.py:62 just got added recently and will be used in the nearer future. It's to set the response file once it has been modified.

It's always fine to ask questions, no harm done! :)

from monkalot.

ghostduck avatar ghostduck commented on May 31, 2024

I briefly checked Speech class in commands.py. It seems if I comment out cmds.Speech(self), the "ban me" part won't work too ... I think I will try to look for old commits and write some codes to workaround it.

Thanks for your kind comment! I have to sleep now and will write codes later.

from monkalot.

CodeMonkey3451 avatar CodeMonkey3451 commented on May 31, 2024

Yes, it might make sense to put the "ban me" part in another class or create a new class for it. That way class Speech(Command) is only reserved for the native speech part which uses the Cleverbot API key.

from monkalot.

ghostduck avatar ghostduck commented on May 31, 2024

Seems ok now

from monkalot.

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.