Coder Social home page Coder Social logo

Comments (4)

HavinFiles avatar HavinFiles commented on September 3, 2024

I have always had issues with json databases restarting everytime the bot reboots, so it isnt just your bot its happening with. Its just a struggle you know haha

from lasty.

HavinFiles avatar HavinFiles commented on September 3, 2024

One more thing ive been looking to do is command aliases, for example, for ",np" (which I had also added ,fm), I would like the command to trigger if I were to say something like "discordfm" for the FM/NP command to come up.

from lasty.

dxnter avatar dxnter commented on September 3, 2024

That's strange, I haven't heard of the resetting happening to anyone else before or experienced that. lowdb does have its limits since it's just a JSON file so that may explain why it's crashing.

I initially used MongoDB but I opted for lowdb after a few updates to reduce the installation steps and because it was only storing simple values. In the next version, the database will have way more records so I definitely need to migrate to SQLite.

Command aliases are pretty simple to add, https://github.com/discordjs/Commando-guide/blob/master/using-aliases-in-commands.md unless you mean something different.

Thanks for the suggestions 👍

from lasty.

HavinFiles avatar HavinFiles commented on September 3, 2024

Yeah SQLite would be insane, it's worked awesome for me in the past I am just not very skilled with it to do stuff like this
But yea of course np for the suggestions 👍

And if you still have the mongodb version let me know, I'd honestly still be interested in it if u have that previous version

from lasty.

Related Issues (7)

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.