From: Christopher Allan Webber Date: Fri, 23 Dec 2016 20:22:28 +0000 (-0600) Subject: irc: Move irc-bot code to make use of generic methods X-Git-Tag: v0.4.0~58 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=bc24c9f3f29d3396ae9e52f9682914dec868838a;hp=bc24c9f3f29d3396ae9e52f9682914dec868838a;p=8sync.git irc: Move irc-bot code to make use of generic methods ircbot.scm demo also now makes use of subclassing. * 8sync/systems/irc.scm (): Removed line-handler field. (irc-bot-dispatch-line): Renamed from irc-bot-dispatch-raw-line. All callers changed. (irc-bot-send-line): Moved position in file. (irc-bot-handle-line): New method. (irc-bot-handle-misc-input, irc-bot-handle-user-join) (irc-bot-handle-user-quit): New stub methods. * demos/ircbot.scm (): New variable. (irc-bot-handle-line): Now a generic method extending same named method in 8sync/systems/irc.scm. Previously was `handle-line'. (run-bot): Use . (main): Remove debugging pk. ---