commit c8cc5b7c9b4b74c212c5b4159063611411a1563e
parent f04aafc8024da51b07eea6f15d4c697740ebf500
Author: sin <sin@2f30.org>
Date: Sun, 21 Apr 2013 13:54:24 +0100
kunt: Add radio URL to !radio
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/kunt/kunt.go b/src/kunt/kunt.go
@@ -188,6 +188,8 @@ func cmdRadio(msg irc.IrcMessage) {
song, _ := ioutil.ReadAll(np.Body)
r := fmt.Sprintf("[Radio] %s", song)
kunt.ircCtx.SendPrivmsg(msg.Params[0], r)
+ r = "[Radio] http://radio.2f30.org:8000/live.ogg"
+ kunt.ircCtx.SendPrivmsg(msg.Params[0], r)
}
}