summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/3-join.rkt10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/3-join.rkt b/modules/3-join.rkt
new file mode 100644
index 0000000..ba605e8
--- /dev/null
+++ b/modules/3-join.rkt
@@ -0,0 +1,10 @@
+#lang racket/base
+(require irc/bot irc/command)
+
+(define-command (join channel)
+ #:power 2
+ (join channel))
+
+(define-command (part channel)
+ #:power 2
+ (part channel))