plugins/cronbot.nb
# -*-ruby-*-
#
# Copyright (c) 2004-2005 SASADA Koichi <ko1 at atdot.net>
#
# This program is free software with ABSOLUTELY NO WARRANTY.
# You can re-distribute and/or modify this program under
# the same terms of the Ruby's license.
#
#
# $Id$
#
class CronBot < Nadoka::NDK_Bot
def on_timer t
@state.channels.each{|ch|
send_notice(ch, t.to_s)
}
end
end