summaryrefslogtreecommitdiff
path: root/modules/1-ping.rkt
diff options
context:
space:
mode:
authortilpner2018-04-17 23:13:23 +0200
committertilpner2018-04-17 23:13:23 +0200
commit5e05e5e7e5c363131d6fb3e2f11e761c1f69c222 (patch)
tree25ee061b145a324bd71be1e6bdabb09b9c815b52 /modules/1-ping.rkt
downloadmeep-5e05e5e7e5c363131d6fb3e2f11e761c1f69c222.tar.gz
meep-5e05e5e7e5c363131d6fb3e2f11e761c1f69c222.tar.xz
meep-5e05e5e7e5c363131d6fb3e2f11e761c1f69c222.zip
Initial commit
Diffstat (limited to 'modules/1-ping.rkt')
-rw-r--r--modules/1-ping.rkt5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/1-ping.rkt b/modules/1-ping.rkt
new file mode 100644
index 0000000..fc03c0e
--- /dev/null
+++ b/modules/1-ping.rkt
@@ -0,0 +1,5 @@
+#lang racket/base
+(require irc/core irc/bot)
+
+(on (command-is 'PING)
+ (send (msg 'PONG '() (suffix))))