@ee WTF AM I DOING WRONG
code:
let wasteof = new wasteofclient("replit-test7", "nottellingyouthepassword")
wasteof.login()
wasteof.post("hello from replit!")
console response:
ReferenceError: wasteofclient is not defined
at Object.<anonymous> (/home/runner/LightgreenDualWebsite/index.js:1:15)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
my response:
AAAAAAAAAAAAA YOU MOTHERFU-
just need some help here.
how would i send posts on wasteof.money through replit?
asking for a project (automating npg)
edit: @ee you would know wouldn’t you?
edit 2: i think wasteof.client will do
Be sure to require it
try this (it has to be in node):
const wasteofclient = require("wasteof-client")
let wasteof = new wasteofclient("replit-test7", "password")
wasteof.login()
.then(async function() {
await wasteof.post("aaa", null)
})
i did that last night ._. and it worked already
oh thats good