/ircFormat

Colorize irc messages.

Primary LanguageGoMIT LicenseMIT

Build Status

ircFormat

Library to format irc messages

https://godoc.org/github.com/rendom/ircFormat

####Example usage:####

// Bold text with red foreground
i.Privmsg(CHAN, ircFormat.New("Test").SetBold().SetFg(ircFormat.Red));

// Bold text
i.Privmsg(CHAN, ircFormat.Bold("Test!"));

// Italic text
i.Privmsg(CHAN, ircFormat.Italic("Test!"));

// Underline text
i.Privmsg(CHAN, ircFormat.Underline("Test!"));

// Red text
i.Privmsg(CHAN, ircFormat.Colorize("Test!", ircFormat.Red, ircFormat.None));

// Red text with green background
i.Privmsg(CHAN, ircFormat.Colorize("Test!", ircFormat.Red, ircFormat.Green));