Show Menu
Cheatography

Methods and properties found on the Tennu Client.

Tennu Subscriber Method .on() Parameters

message
handler
!command
handler
message1 message2
handler
{message1: handler1, message2: handler2}

Tennu Message Properties

ALL
receiver
Client
ALL
prefix
string
ALL
command
string
ALL
params
[string]
ALL
tags
object?
MOST
hostname
{nickname, username, hostname}
MOST
nickname
string
MOST
channel
string
PRIVMSG, NOTICE
isQuery
boolean
PRIVMSG, NOTICE
message
string
QUIT, JOIN
reason
string
 

Tennu Output Methods

say
message
act
action
ctcp
request[, ...args]
join
channel(s)
part
channel[, reason]
quit
[reason]
nick
new-nick
mode
target, plus, minus, inArgs
who
channel
whois
nickname
userhost
nickname
raw
params...
rawf
format, params...
joining a single channel or whoising a single user returns a
Promis­e<R­esu­lt<­Info, FailMe­ssa­ge>, Error>.
 

Tennu Client Logger Methods

log
(level, ...mes­sages)
debug
(...me­ssages)
info
(...me­ssages)
notice
(...me­ssages)
warn
(...me­ssages)
error
(...me­ssages)
crit
(...me­ssages)
alert
(...me­ssages)
emerg
(...me­ssages)
           
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          AngularJS Cheat Sheet
          JavaScript Cheat Sheet
          jasmine JS testing Cheat Sheet

          More Cheat Sheets by Havvy

          Q Promises Cheat Sheet