From fe5d226640a021def35eba426ce35e5c81f29756 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Fri, 12 Oct 2007 01:18:02 +0000 Subject: [PATCH] Added notification after Jaiku posting. --- buildnum.properties | 4 +- mobibot.iws | 133 ++++++++---------- src/net/thauvin/erik/mobibot/Jaiku.java | 2 + src/net/thauvin/erik/mobibot/ReleaseInfo.java | 12 +- 4 files changed, 68 insertions(+), 83 deletions(-) diff --git a/buildnum.properties b/buildnum.properties index 151aaa4..1ad1f24 100644 --- a/buildnum.properties +++ b/buildnum.properties @@ -1,3 +1,3 @@ #ANT Task: ch.oscg.jreleaseinfo.BuildNumberHandler -#Thu Oct 11 16:35:17 PDT 2007 -build.num.last=72 +#Thu Oct 11 18:06:05 PDT 2007 +build.num.last=73 diff --git a/mobibot.iws b/mobibot.iws index cc6c099..ced1546 100644 --- a/mobibot.iws +++ b/mobibot.iws @@ -18,10 +18,8 @@ - - - + @@ -164,7 +162,7 @@ - + @@ -173,7 +171,7 @@ - + @@ -182,7 +180,7 @@ - + @@ -191,7 +189,7 @@ - + @@ -200,7 +198,7 @@ - + @@ -209,7 +207,7 @@ - + @@ -218,7 +216,7 @@ - + @@ -227,7 +225,7 @@ - + @@ -236,7 +234,7 @@ - + @@ -245,7 +243,7 @@ - + @@ -387,7 +385,7 @@ - + @@ -401,11 +399,11 @@ - + - + @@ -470,19 +468,7 @@ + + + + + + + - + - + - + - + - + - + - + - - - - - - - - + - + diff --git a/src/net/thauvin/erik/mobibot/Jaiku.java b/src/net/thauvin/erik/mobibot/Jaiku.java index f2ac6b4..90048a3 100644 --- a/src/net/thauvin/erik/mobibot/Jaiku.java +++ b/src/net/thauvin/erik/mobibot/Jaiku.java @@ -90,6 +90,8 @@ public class Jaiku implements Runnable params.add(map); client.execute("presence.send", params); + + _bot.send(_sender, "You message was posted to http://jaiku.com/channel/" + _bot.getChannel().substring(1)); } catch (Exception e) { diff --git a/src/net/thauvin/erik/mobibot/ReleaseInfo.java b/src/net/thauvin/erik/mobibot/ReleaseInfo.java index 9f0f51e..b60bc18 100644 --- a/src/net/thauvin/erik/mobibot/ReleaseInfo.java +++ b/src/net/thauvin/erik/mobibot/ReleaseInfo.java @@ -1,5 +1,5 @@ /* Created by JReleaseInfo AntTask from Open Source Competence Group */ -/* Creation date Thu Oct 11 16:35:17 PDT 2007 */ +/* Creation date Thu Oct 11 18:06:05 PDT 2007 */ package net.thauvin.erik.mobibot; import java.util.Date; @@ -20,21 +20,21 @@ public class ReleaseInfo { } - /** buildDate (set during build process to 1192145717288L). */ - private static final Date buildDate = new Date(1192145717288L); + /** buildDate (set during build process to 1192151165055L). */ + private static final Date buildDate = new Date(1192151165055L); /** - * Get buildDate (set during build process to Thu Oct 11 16:35:17 PDT 2007). + * Get buildDate (set during build process to Thu Oct 11 18:06:05 PDT 2007). * @return Date buildDate */ public static Date getBuildDate() { return buildDate; } /** - * Get buildNumber (set during build process to 72). + * Get buildNumber (set during build process to 73). * @return int buildNumber */ - public static int getBuildNumber() { return 72; } + public static int getBuildNumber() { return 73; } /** project (set during build process to "mobibot"). */