fakemancat / geometry-dash-api

NPM module for working with Geometry Dash API
7 stars 3 forks source link

"GDClient is not a constructor" #3

Open Safariminer opened 3 years ago

Safariminer commented 3 years ago

Hello!

I've been trying to make a project with a login with a GD account, but NodeJS is just reporting that "GDClient is not a constructor".

var GDClient = require('geometry-dash-api');

var Client = new GDClient({
  server: 'http://www.boomlings.com/database',
  userName: 'Safariminer',
  password: '(i'm obviously gonna censor that)'
});

Am I doing anything wrong?

fakemancat commented 2 years ago

Hello. Version of NodeJS?