@oskarkarpinski/discord-economy
v1.0.1
Published
A lightweight and easy to use leveling framework for discord bots, uses MongoDB.
Downloads
1
Readme
Discord-Economy
Download & Update
You can download it from npm:
npm i @oskarkarpinski/discord-economy
You can update to a newer version a receive updates using npm:
npm update @oskarkarpinski/discord-economy
Setting Up
Frist things first, we inclide the module into the project,
JavaScript
const economy = require('@oskarkarpinski/discord-economy')
ES
import Economy from '@oskarkarpinski/discord-economy'
After that, you need to provide a valid mongo database url, and set it. You can do so by:
Economy.setURL('mongodb://...')