projects
/
8sync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
demos: irc-bot: Refactor message handling using new handle-message.
[8sync.git]
/
doc
/
8sync.texi
diff --git
a/doc/8sync.texi
b/doc/8sync.texi
index 7412ea1e75942a11cdf532ddaa51f8a221830a95..8dea9f3f63819dc0bd5a528b23eee8465e31e61d 100644
(file)
--- a/
doc/8sync.texi
+++ b/
doc/8sync.texi
@@
-1018,8
+1018,7
@@
Edit the respond section to see what channel it's really sending
things to:
@example
things to:
@example
-(define-method (handle-line (irc-bot <my-irc-bot>) message
- speaker channel line emote?)
+(define-method (handle-message (irc-bot <my-irc-bot>) message)
;; [... snip ...]
(define (respond respond-line)
(<- (actor-id irc-bot) 'send-line (pk 'channel channel)
;; [... snip ...]
(define (respond respond-line)
(<- (actor-id irc-bot) 'send-line (pk 'channel channel)
@@
-1048,8
+1047,7
@@
to looks like our own username that we respond back to the sender.
(We can remove the pk now that we know what's going on.)
@example
(We can remove the pk now that we know what's going on.)
@example
-(define-method (handle-line (irc-bot <my-irc-bot>) message
- speaker channel line emote?)
+(define-method (handle-line (irc-bot <my-irc-bot>) message)
;; [... snip ...]
(define (respond respond-line)
(<- (actor-id irc-bot) 'send-line
;; [... snip ...]
(define (respond respond-line)
(<- (actor-id irc-bot) 'send-line