Skip to content

pfaraee/whisper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

whisper

A module for chat applications to handle World Of Warcraft style whisper commands View on npm

Usage

pass module a string in the format "/tell TARGET MESSAGE", and an object representing the target and message is returned.

Installation

npm install whisper-handler

Example

var whisper = require('whisper-handler');
var obj = whisper("/tell Ferdinand Hey man! I like your style...");

obj.target // "Ferdinand"
obj.message // "Hey man! I like your style..."

About

A module for chat applications to handle World Of Warcraft style whisper commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published