Skip to content

a module that allows you to access the wasteof.money api but not fully i think

Notifications You must be signed in to change notification settings

Late-Is-Cool/wasteof.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

npm version npm downloads Tests status

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")

About

a module that allows you to access the wasteof.money api but not fully i think

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published