Open Glavin001 opened 10 years ago
From @suprememoocow:
var Gitter = require('node-gitter'); var gitter = new Gitter(token); gitter.currentUser() .then(function(user) { console.log('You are logged in as:', user.username); }) .fail(function(err) { console.log('ERROR', err); });
Or
gitter.currentUser(function(err, user) {})
From @suprememoocow:
Or