rjt-rockx / emerald

A simple Discord bot built with Discord.js and Commando.
MIT License
21 stars 2 forks source link

A small Help for me #3

Closed PraneeshRV closed 4 years ago

PraneeshRV commented 4 years ago

can you please say what are the variables in config.js ?

please

PraneeshRV commented 4 years ago

@rjt-rockx I am not copying your bot or self-hosting it. I need only level-up system like yours. I wont copy anything else.

rjt-rockx commented 4 years ago

Hey, a config can look like so:


module.exports = {
    owners: [
        "youridhere"
    ],
    token: "yourtokenhere",
    defaultPrefix: "yourprefixhere"
};
PraneeshRV commented 4 years ago

okk thanks and what database you use?

PraneeshRV commented 4 years ago

and where will you connect it?

rjt-rockx commented 4 years ago

It uses quickdb, which isn't too complex tbh. You can find it at https://quickdb.js.org/

PraneeshRV commented 4 years ago

okk thanks I will close this