From 3ad85b9e1336fe977e985ae74e56615f5062adc5 Mon Sep 17 00:00:00 2001 From: tilpner Date: Sun, 12 Aug 2018 21:16:14 +0200 Subject: Add admin control for join/part --- modules/3-join.rkt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 modules/3-join.rkt (limited to 'modules') 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)) -- cgit v1.2.3