@@ -44,7 +44,8 @@ constant BUILDS-LOCATION = ‘/tmp/whateverable/’.IO.absolute;
44
44
constant MESSAGE-LIMIT is export = 260 ;
45
45
constant COMMITS-LIMIT = 500 ;
46
46
my $ GIST-LIMIT = 10_000 ;
47
- constant PARENTS = ‘ AlexDaniel’ , ‘ MasterDuke’ ;
47
+ constant $ CAVE = ‘ #whateverable’ ;
48
+ constant $ PARENTS = ‘ AlexDaniel’ , ‘ MasterDuke’ ;
48
49
49
50
our $ RAKUDO-REPO = ‘ https://github.com/rakudo/rakudo’ ;
50
51
@@ -87,9 +88,9 @@ method handle-exception($exception, $msg?) {
87
88
88
89
say $ exception ;
89
90
with $ msg {
90
- if . channel ne ‘ #whateverable ’ {
91
- . irc. send-cmd: ‘ PRIVMSG’ , . channel , “ I'm acting stupid on { . channel} . Help me.” ,
92
- : server(. server), : prefix(PARENTS. join (‘ , ’ ) ~ ‘ : ’ )
91
+ if . channel ne $ CAVE {
92
+ . irc. send-cmd: ‘ PRIVMSG’ , $ CAVE , “ I'm acting stupid on { . channel} . Help me.” ,
93
+ : server(. server), : prefix($ PARENTS . join (‘ , ’ ) ~ ‘ : ’ )
93
94
}
94
95
}
95
96
@@ -488,7 +489,7 @@ method selfrun($nick is copy, @alias?) {
488
489
?? ‘ #whateverable’
489
490
!! % * ENV <TESTABLE >
490
491
?? “ #whateverable_$ nick”
491
- !! <#perl6 #perl6-dev #whateverable # zofbot #moarvm >)
492
+ !! ( | <#perl6 #perl6-dev #zofbot #moarvm >, $ CAVE ) )
492
493
: debug(? % * ENV <DEBUGGABLE >)
493
494
: plugins(self )
494
495
: filters( -> | c { self . filter(| c) } )
0 commit comments