poppyrock2 — 5/24/2022, 12:05:31 AM

@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-
↩ repost
poppyrock2 — 5/23/2022, 11:38:06 PM

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

♥ 2 ↩ 1 💬 6 comments
♥ 3 ↩ 0 💬 6 comments

comments

oren:

Be sure to require it

5/24/2022, 3:44:21 AM
oren:

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)
  })
5/24/2022, 9:29:03 PM
poppyrock2:

@replit-test7

i did that last night ._. and it worked already

5/24/2022, 9:53:55 PM
oren:

oh thats good

5/24/2022, 11:15:04 PM
replit-test7: now for the robot uprising!
5/24/2022, 12:20:45 AM
poppyrock2:

ok

5/24/2022, 12:21:14 AM