Code Monkey home page Code Monkey logo

Comments (5)

TheBozzz34 avatar TheBozzz34 commented on July 21, 2024

I would also suggest users get their own Tenor API key instead of them using yours

from reaper-2.0.

Simpleboy353 avatar Simpleboy353 commented on July 21, 2024

Various commands crash the bot with the exception: Uncaught Exception: TypeError: msg.edit is not a function So far it seems to happen with greentext and pp. Addionally, ping fails with a Cannot send an empty message error, also collection.ensureIndex is deprecated

For now, to avoid the crashing of the bot, remove the process.exit(1) line from the error handling part (uncaughtException) in the index.js file. pp will be updated with the next update. I couldn't find any error with greentext command, I'll keep checking if the command gives any error. I have also made some changes to the ping command, you use that for now. Talking about collection.ensureIndex that is an issue with mongoose and not the bot, still I made a change to the connect part in the ready event, just check if that works. Also can you tell me which command gives the msg.edit is not a function error?

from reaper-2.0.

TheBozzz34 avatar TheBozzz34 commented on July 21, 2024

Okay, the ping command works now and I have removed process.exit. The msg.edit error appears to happen with the help command and originates from help.js, however, it dosent look like any editing was done at the time the error got sent. I have also discovered that the userinfo command errors with Cannot read property 'status' of undefined

from reaper-2.0.

Simpleboy353 avatar Simpleboy353 commented on July 21, 2024

Fixes will be done in the next update.

from reaper-2.0.

rodrigoricky avatar rodrigoricky commented on July 21, 2024

When I use the help command, and not using the button, after a few moments, it shows that ms.edit is not a function

from reaper-2.0.

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.