1.0.20 • Published 6 years ago

discord-community v1.0.20

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

discord-community

Not working sorry.

Install

You can install this by doing: <npm install discord-community>

Usage

Check this example up:

const community = require('discord-community')

//this will fetch the money
community.fetchMoney(message.author.id).then((i) => { //you can add message.guild.id to not make it global
  console.log(i.money)
  })

//this would add x amount of money
community.updateMoney(message.author.id, 100)

this is just with Money but you can also use:

community.fetchRep(message.author.id).then((i) => {
  console.log(i.rep)
  })

//this is for casino bots...
community.updateChips(message.author.id, 50).then((i) => {
  console.log(i.chips)
  })

community.updateExp(message.author.id, 99)

community.fetchLevel(message.author.id).then((i) => {
  console.log(i.level)
  })

Remember, you can add message.guild.id to make it guild only!

Everything

fetchChips updateChips
fetchExp updateExp
fetchRep updateRep
fetchLevel updateLevel
fetchMoney updateMoney
1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago