Show Menu

Tennu Cheat Sheet by

Methods and properties found on the Tennu Client.
javascript     irc     tennu     bots

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)

Download the Tennu Cheat Sheet

1 Page
//media.cheatography.com/storage/thumb/havvy_tennu.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

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