1.1.0 • Published 2 years ago

wasteof.js v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

about

wasteof.js is a node.js module that allows you to react with the wasteof.money api

  • i dont know
  • not complete coverage of the api (i think)
  • socket.io included

installation

node.js version needs.. i dont know, just make sure its up to date i guess

npm install wasteof.js

example usage

const wasteof = require("wasteof.js")
const client = new wasteof.Client()

client.on("ready", () => {
    console.log("Logged in!")
})

client.on("onMention", (data) => {
    if (data.mention?.type === "wall_comment") {
        client.postWallComment("late", "heya!", data.mention.data.comment._id).catch((error) => console.log(error))
    }
})

client.login("late", "FunnyAmongus123#5812")
1.1.0

2 years ago

1.0.0

2 years ago