summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authortilpner2018-08-12 21:16:14 +0200
committertilpner2018-08-12 21:16:14 +0200
commit3ad85b9e1336fe977e985ae74e56615f5062adc5 (patch)
tree4acde9a6ec669ae515d62de84e474a333df376b6 /modules
parent488e30c923d01d549fefd7e233459a086b35f543 (diff)
downloadmeep-3ad85b9e1336fe977e985ae74e56615f5062adc5.tar.gz
meep-3ad85b9e1336fe977e985ae74e56615f5062adc5.tar.xz
meep-3ad85b9e1336fe977e985ae74e56615f5062adc5.zip
Add admin control for join/part
Diffstat (limited to 'modules')
-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))