commit 6cbea940c62dce4f38c53c67c2cdffc1436423fc
parent 0eff81665f70be2c49f3b1f4ec2972e6686e0a39
Author: hhvn <dev@hhvn.uk>
Date: Mon, 24 May 2021 23:31:23 +0100
filters.sh: alias bc to calc
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/filters.sh b/filters.sh
@@ -193,7 +193,7 @@ match_action "(gives|passes|hands).*$nick.*job" job
match_action "(gives|passes|hands).*$nick.*(food|cookie|biscuit|leftovers|dinner|scraps)" food
match_msg "$nick[:,] (wttr|weather)" weather
match_msg "$nick[:,] say" say
-match_msg "$nick[:,] calc" calc
+match_msg "$nick[:,] (calc|bc)" calc
match_msg "$nick[:,] good |)night(.*$nick.*|)$" night
match_msg "$nick[,:] ($(ls bin/ | tr '\n' '|' | sed 's/|$//g'))" bin
match_msg "$nick[,:] (sudo|doas) ($(ls bin/ | tr '\n' '|' | sed 's/|$//g'))" binsu