omegle-client

1.0.0 • Public • Published

An Omegle client for node

Example:

var Client = require('omegle-client').Client;
 
var chat = new Client();
 
// This starts a new conversation
 
chat.start(function(err){
  if(err)
    console.log(err);
});
 
// Omegle extends the standard EventEmitter class so just use the  on  function to subscribe to them
// See below for full list
chat.on('disconnected', function(){
  om.start();
});
 

Events list

These events are emitted, some with arguments:

waiting
connected
gotMessage
strangerDisconnected
typing
stoppedTyping
recaptchaRequired
recaptchaRejected
statusInfo
question
antinudeBanned
error

Untrue to its name, antinudeBanned does not necessarily mean you where banned for nudity. You will also get this response if your IP is banned because you used omegle too advertise or if you made connections to rapidly.

Readme

Keywords

Package Sidebar

Install

npm i omegle-client

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • oquanox