From 4c917d4ffc5d55110e96ca4ae6da55bbea275038 Mon Sep 17 00:00:00 2001 From: tilpner Date: Sun, 12 Aug 2018 21:13:19 +0200 Subject: Update ibip url again, add (source) command --- modules/3-ibip.rkt | 10 ++++++++-- 1 file 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)) -- cgit v1.2.3