summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/3-ibip.rkt10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/3-ibip.rkt b/modules/3-ibip.rkt
index 3e38f82..08d63ca 100644
--- a/modules/3-ibip.rkt
+++ b/modules/3-ibip.rkt
@@ -1,8 +1,14 @@
#lang racket/base
-(require irc/bot)
+(require irc/bot irc/command)
; See https://git.teknik.io/Teknikode/IBIP
+(define source "git.tx0.co/meep")
+
(on (and (command-is 'PRIVMSG)
(suffix-is ".bots"))
- (reply "Reporting in! [Racket] git://tx0.co/meep"))
+ (reply (format "Reporting in! [Racket] ~a" source)))
+
+(define-command (source)
+ #:help "Display bot repo location"
+ (reply source))