kunt

golang IRC bot
git clone git://git.2f30.org/kunt
Log | Files | Refs | LICENSE

commit cabbd46bc4d57000ce233de19546fb1048074783
parent 83ac9fa45b48f071df7285e2124887f79ef7601a
Author: sin <sin@2f30.org>
Date:   Thu,  2 May 2013 21:15:58 +0100

add vives based replies

Diffstat:
Msrc/kunt/kunt.go | 13++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/src/kunt/kunt.go b/src/kunt/kunt.go @@ -49,7 +49,6 @@ func cmdKunt(msg irc.IrcMessage) { "ok", "maybe", "yes", - "no fucking way", } if msg.Nick == "dsp" || msg.Nick == "TLH" || msg.Nick == "sovarofanis" { replies = []string{ @@ -62,6 +61,18 @@ func cmdKunt(msg irc.IrcMessage) { "spliff it up bro!", } } + if strings.Index(msg.Args[1], "vv") != -1 || + strings.Index(msg.Args[1], "vives") != -1 { + replies = []string{ + "vives alani", + "vv maaaan!!", + "skastoooo", + "vv http://www.youtube.com/watch?v=wHzxh9fneJ8 <-- varaeeiiiiii", + "vives!", + "vv!", + "vv dawg", + } + } idx := rand.Intn(len(replies)) kunt.ircCtx.Privmsg(msg.Args[0], string(replies[idx])) }